[Rcpp-commits] r2804 - in pkg/Rcpp: . debian inst inst/announce
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Mon Dec 20 01:36:29 CET 2010
Author: edd
Date: 2010-12-20 01:36:29 +0100 (Mon, 20 Dec 2010)
New Revision: 2804
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/DESCRIPTION
pkg/Rcpp/debian/changelog
pkg/Rcpp/debian/control
pkg/Rcpp/inst/NEWS
pkg/Rcpp/inst/announce/ANNOUNCE-0.9.0.txt
Log:
release 0.9.0
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2010-12-19 17:15:31 UTC (rev 2803)
+++ pkg/Rcpp/ChangeLog 2010-12-20 00:36:29 UTC (rev 2804)
@@ -1,3 +1,9 @@
+2010-12-19 Dirk Eddelbuettel <edd at debian.org>
+
+ * DESCRIPTION: Release 0.9.0
+
+ * debian/*: Similarly updated for new release to Debian
+
2010-12-18 Dirk Eddelbuettel <edd at debian.org>
* inst/announce/ANNOUNCE-0.9.0.txt: Started announcement post
Modified: pkg/Rcpp/DESCRIPTION
===================================================================
--- pkg/Rcpp/DESCRIPTION 2010-12-19 17:15:31 UTC (rev 2803)
+++ pkg/Rcpp/DESCRIPTION 2010-12-20 00:36:29 UTC (rev 2804)
@@ -1,6 +1,6 @@
Package: Rcpp
Title: Seamless R and C++ Integration
-Version: 0.8.9.4
+Version: 0.9.0
Date: $Date$
Author: Dirk Eddelbuettel and Romain Francois,
with contributions by Douglas Bates and John Chambers
@@ -30,7 +30,7 @@
to use than the equivalent low-level loop code. The "Rcpp-sugar" vignette
gives an overview of the feature.
.
- Several examples are included, and 793 unit tests in 375 unit test functions
+ Several examples are included, and 745 unit tests in 328 unit test functions
provide additional usage examples.
.
An earlier version of Rcpp, containing what we now call the 'classic Rcpp
Modified: pkg/Rcpp/debian/changelog
===================================================================
--- pkg/Rcpp/debian/changelog 2010-12-19 17:15:31 UTC (rev 2803)
+++ pkg/Rcpp/debian/changelog 2010-12-20 00:36:29 UTC (rev 2804)
@@ -1,3 +1,9 @@
+rcpp (0.9.0-1) unstable; urgency=low
+
+ * New release
+
+ -- Dirk Eddelbuettel <edd at debian.org> Sun, 19 Dec 2010 18:35:01 -0600
+
rcpp (0.8.9-1) unstable; urgency=low
* New release
Modified: pkg/Rcpp/debian/control
===================================================================
--- pkg/Rcpp/debian/control 2010-12-19 17:15:31 UTC (rev 2803)
+++ pkg/Rcpp/debian/control 2010-12-20 00:36:29 UTC (rev 2804)
@@ -2,52 +2,46 @@
Section: gnu-r
Priority: optional
Maintainer: Dirk Eddelbuettel <edd at debian.org>
-Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 2.12.0), cdbs
+Build-Depends: debhelper (>= 7.0.0), r-base-dev (>= 2.12.1), cdbs
Standards-Version: 3.9.1
Homepage: http://dirk.eddelbuettel.com/code/rcpp.html
Package: r-cran-rcpp
Architecture: any
-Depends: ${shlibs:Depends}, ${misc:Depends}, r-base-core (>= 2.12.0), littler
+Depends: ${shlibs:Depends}, ${misc:Depends}, r-base-core (>= 2.12.1), littler
Suggests: r-cran-inline
-Description: GNU R / C++ interface classes and examples
- The Rcpp package contains a C++ library that facilitates the integration of
- R and C++ in various ways.
+Description: GNU R package for Seamless R and C++ Integration
+ The Rcpp package provides a C++ library which facilitates the
+ integration of R and C++.
.
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 ...
+ Rcpp::Function, etc ... The "Rcpp-introduction" vignette provides a good
+ entry point to Rcpp.
.
- 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.
+ Conversion from C++ to R and back is driven by the templates Rcpp::wrap
+ and Rcpp::as which are highly flexible and extensible, as documented
+ in the "Rcpp-extending" vignette.
.
- The reverse conversion (from R to C++) is performed by the Rcpp::as function
- template offering a similar degree of flexibility.
+ Rcpp also provides Rcpp modules, a framework that allows exposing
+ C++ functions and classes to the R level. The "Rcpp-modules" vignette
+ details the current set of features of Rcpp-modules.
.
- 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.
+ Rcpp includes a concept called Rcpp sugar that brings many R functions
+ into C++. Sugar takes advantage of lazy evaluation and expression templates
+ to achieve great performance while exposing a syntax that is much nicer
+ to use than the equivalent low-level loop code. The "Rcpp-sugar" vignette
+ gives an overview of the feature.
.
- 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 745 unit tests in 328 unit test functions
+ provide additional usage examples.
.
- Several examples are included, and 784 unit tests in 364 functions
- provide addtional usage examples.
+ An earlier version of Rcpp, containing what we now call the 'classic Rcpp
+ API' was written during 2005 and 2006 by Dominick Samperi. This code has
+ been factored out of Rcpp into the package RcppClassic and it is still
+ available for code relying on this interface. New development should use
+ this package instead.
Modified: pkg/Rcpp/inst/NEWS
===================================================================
--- pkg/Rcpp/inst/NEWS 2010-12-19 17:15:31 UTC (rev 2803)
+++ pkg/Rcpp/inst/NEWS 2010-12-20 00:36:29 UTC (rev 2804)
@@ -1,23 +1,23 @@
-0.9.0 2010-12-18 (anticipated)
+0.9.0 2010-12-19
- o The classic api was factored out in its own package RcppClassic which is
- released concurrently with this version.
+ o The classic API was factored out into its own package RcppClassic which
+ is released concurrently with this version.
o If an object is created but not initialized, attempting to use
it now gives a more sensible error message (by forwarding an
Rcpp::not_initialized exception to R).
- o SubMatrix fixed, and Matrix types now have a nested ::Sub typedef
+ o SubMatrix fixed, and Matrix types now have a nested ::Sub typedef.
o New unexported function SHLIB() to aid in creating a shared library on
- the command-line or in Makefile (similar to CxxFlags() / LdFlags())
+ the command-line or in Makefile (similar to CxxFlags() / LdFlags()).
- o Module gets a seven-argument ctor thanks to a patch from Tama Ma
+ o Module gets a seven-argument ctor thanks to a patch from Tama Ma.
o The (still incomplete) QuickRef vignette has grown thanks to a patch
- by Christian Gunning
+ by Christian Gunning.
- o Added a sprintf template intended for logging and error messages
+ o Added a sprintf template intended for logging and error messages.
o Date::getYear() corrected (where addition of 1900 was not called for);
corresponding change in constructor from three ints made as well.
@@ -26,7 +26,7 @@
conversion to int and double following strptime. The default format
string for the Datetime() strptime call was also corrected.
- o A few minor fixes throughout, see ChangeLog
+ o A few minor fixes throughout, see ChangeLog.
0.8.9 2010-11-27
Modified: pkg/Rcpp/inst/announce/ANNOUNCE-0.9.0.txt
===================================================================
--- pkg/Rcpp/inst/announce/ANNOUNCE-0.9.0.txt 2010-12-19 17:15:31 UTC (rev 2803)
+++ pkg/Rcpp/inst/announce/ANNOUNCE-0.9.0.txt 2010-12-20 00:36:29 UTC (rev 2804)
@@ -134,8 +134,8 @@
temporaries. Armadillo is useful if C++ has been decided as the language of
choice, rather than another language like Matlab ® or Octave, and aims to be
as expressive as the former. Via Rcpp and RcppArmadillo, R users now have
-easy access to this functionality. Examples and more documentation are in the
-vignette of the RcppArmadillo package.
+easy access to this functionality. Examples are provided in the RcppArmadillo
+package.
The RcppGSL package permits easy use of the GNU Scientific Library (GSL), a
collection of numerical routines for scientifc computing. It is particularly
More information about the Rcpp-commits
mailing list