[Rcpp-commits] r667 - in pkg: . debian inst
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Sat Feb 13 05:18:58 CET 2010
Author: edd
Date: 2010-02-13 05:18:58 +0100 (Sat, 13 Feb 2010)
New Revision: 667
Modified:
pkg/DESCRIPTION
pkg/NEWS
pkg/debian/changelog
pkg/debian/control
pkg/inst/ChangeLog
Log:
release 0.7.6
Modified: pkg/DESCRIPTION
===================================================================
--- pkg/DESCRIPTION 2010-02-13 03:38:54 UTC (rev 666)
+++ pkg/DESCRIPTION 2010-02-13 04:18:58 UTC (rev 667)
@@ -1,6 +1,6 @@
Package: Rcpp
Title: Rcpp R/C++ interface package
-Version: 0.7.5.2
+Version: 0.7.6
Date: $Date$
Author: Dirk Eddelbuettel and Romain Francois, with contributions
by Simon Urbanek and David Reiss; based on code written during
Modified: pkg/NEWS
===================================================================
--- pkg/NEWS 2010-02-13 03:38:54 UTC (rev 666)
+++ pkg/NEWS 2010-02-13 04:18:58 UTC (rev 667)
@@ -1,7 +1,26 @@
-0.7.6 (under development)
+0.7.6 2010-02-12
- o Restore Windows build; successfully tested on 32 and 64 bit
+ o SEXP_Vector (and ExpressionVector and GenericVector, a.k.a List) now
+ have methods push_front, push_back and insert that are templated
+ o SEXP_Vector now has int- and range-valued erase() members
+
+ o Environment class has a default constructor (for RInside)
+
+ o SEXP_Vector_Base factored out of SEXP_Vector (Effect. C++ #44)
+
+ o SEXP_Vector_Base::iterator added as well as begin() and end()
+ so that STL algorithms can be applied to Rcpp objects
+
+ o CharacterVector gains a random access iterator, begin() and end() to
+ support STL algorithmsl; iterator dereferences to a StringProxy
+
+ o Restore Windows build; successfully tested on 32 and 64 bit;
+
+ o Small fixes to inst/skeleton files for bootstrapping a ackage
+
+ o RObject::asFoo deprecated in favour of Rcpp::as<Foo>
+
0.7.5 2010-02-08
o wrap has been much improved. wrappable types now are :
Modified: pkg/debian/changelog
===================================================================
--- pkg/debian/changelog 2010-02-13 03:38:54 UTC (rev 666)
+++ pkg/debian/changelog 2010-02-13 04:18:58 UTC (rev 667)
@@ -1,3 +1,9 @@
+rcpp (0.7.6-1) unstable; urgency=low
+
+ * New release
+
+ -- Dirk Eddelbuettel <edd at debian.org> Fri, 12 Feb 2010 21:50:34 -0600
+
rcpp (0.7.5-1) unstable; urgency=low
* New release
Modified: pkg/debian/control
===================================================================
--- pkg/debian/control 2010-02-13 03:38:54 UTC (rev 666)
+++ pkg/debian/control 2010-02-13 04:18:58 UTC (rev 667)
@@ -10,8 +10,43 @@
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, r-base-core (>= 2.10.1), littler
Description: GNU R / C++ interface classes and examples
- The Rcpp package map data types betweeen R and C++,
- and includes support for R types real, integer, character,
- vector, matrix, Date, datetime (i.e. POSIXct) data frame,
- and function. It supports calling R functions from C++.
+ The Rcpp package contains a C++ library that facilitates the integration of
+ R and C++ in various ways.
+ .
+ R data types (SEXP) are matched to C++ objects in a class hierarchy. All R
+ types are supported (vectors, functions, environment, etc ...) and each
+ type is mapped to a dedicated class. For example, numeric vectors are
+ represented as instances of the Rcpp::NumericVector class, environments are
+ represented as instances of Rcpp::Environment, functions are represented as
+ Rcpp::Function, etc ...
+ .
+ The underlying C++ library also offers the Rcpp::wrap function which is a
+ templated function that transforms an arbitrary object into a SEXP. This
+ makes it straightforward to implement C++ logic in terms of standard C++
+ types such as STL containers and then wrap them when they need to be
+ returned to R. Internally, wrap uses advanced template meta programming
+ techniques and currently supports : primitive types (bool, int, double,
+ size_t, Rbyte, Rcomplex, std::string), STL containers (e.g std::vector<T>)
+ where T is wrappable, STL maps (e.g std::map<std::string,T>) where T is
+ wrappable, and arbitrary types that support implicit conversion to SEXP.
+ .
+ The reverse conversion (from R to C++) is performed by the Rcpp::as function
+ template offering a similar degree of flexibility.
+ .
+ The package also contains a set of classes---which we call the `classic Rcpp
+ API'---that were provided in an earlier API for R and C++ integration. Due
+ to its continued use, the classic API is retained and will be supported for
+ the foreseable future. The classic API includes support for R types real,
+ integer, character, vector, matrix, Date, datetime (i.e. POSIXct) at
+ microsecond resolution, data frame, and function. Transfer to and from
+ simple or complex SEXP objects is made easy thanks to automatic conversion
+ made possible by C++ template conversion. Calling R functions from C++ is
+ also supported.
+ .
+ C++ code can be 'inlined' by using the 'inline' package which will create a
+ C++ function and compile, link and load it given the 'inlined' character
+ argument which makes C++ integration very easy.
+ .
+ Several examples are included, and over 150 unit tests provide addtional
+ usage examples.
Modified: pkg/inst/ChangeLog
===================================================================
--- pkg/inst/ChangeLog 2010-02-13 03:38:54 UTC (rev 666)
+++ pkg/inst/ChangeLog 2010-02-13 04:18:58 UTC (rev 667)
@@ -1,3 +1,11 @@
+2010-02-12 Dirk Eddelbuettel <edd at debian.org>
+
+ * DESCRIPTION: Release 0.7.5
+
+ * NEWS: Updated
+
+ * debian/*: Similarly updated for new release to Debian
+
2010-02-12 Romain Francois <romain at r-enthusiasts.com>
* src/Rcpp/Environment.h: Environment gains a default
More information about the Rcpp-commits
mailing list