[Rcpp-commits] r4151 - in pkg/Rcpp: . inst
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue Dec 11 16:59:57 CET 2012
Author: jjallaire
Date: 2012-12-11 16:59:57 +0100 (Tue, 11 Dec 2012)
New Revision: 4151
Modified:
pkg/Rcpp/ChangeLog
pkg/Rcpp/inst/NEWS.Rd
Log:
update NEWS.Rd
Modified: pkg/Rcpp/ChangeLog
===================================================================
--- pkg/Rcpp/ChangeLog 2012-12-11 15:27:18 UTC (rev 4150)
+++ pkg/Rcpp/ChangeLog 2012-12-11 15:59:57 UTC (rev 4151)
@@ -9,6 +9,7 @@
* src/AttributesParser.cpp: consolidate attributes into single file
* src/AttributesTypes.h: consolidate attributes into single file
* src/AttributesUtil.h: consolidate attributes into single file
+ * inst/NEWS.Rd: additional notes on changes to attributes
2012-12-11 Romain Francois <romain at r-enthusiasts.com>
Modified: pkg/Rcpp/inst/NEWS.Rd
===================================================================
--- pkg/Rcpp/inst/NEWS.Rd 2012-12-11 15:27:18 UTC (rev 4150)
+++ pkg/Rcpp/inst/NEWS.Rd 2012-12-11 15:59:57 UTC (rev 4151)
@@ -15,6 +15,8 @@
\item utility class sugar::IndexHash inspired from Simon Urbanek's fastmatch
package
\item Implementation of the equality operator between two Rcomplex
+ \item \code{RNGScope} now has an internal counter that enables it
+ to be safely used multiple times in the same stack frame.
}
\item Changes in Rcpp sugar:
\itemize{
@@ -26,16 +28,23 @@
\item New function \code{collapse} that implements paste(., collapse= "" )
}
\item Changes in Rcpp attributes:
- \itemize{
- \item Use code generation rather than modules to implement
- \code{sourceCpp} and \code{compileAttributes} (eliminates
- problem with exceptions not being able to cross shared library
- boundaries on Windows)
- \item Functions exported by \code{sourceCpp} now directly
- hookup to the external symbol pointer
- \item Diagnostics are printed to the console if \code{sourceCpp}
- fails and R development tools are not installed
- }
+ \itemize{
+ \item Use code generation rather than modules to implement
+ \code{sourceCpp} and \code{compileAttributes} (eliminates
+ problem with exceptions not being able to cross shared library
+ boundaries on Windows)
+ \item Exported functions now automatically establish an \code{RNGScope}
+ \item Functions exported by \code{sourceCpp} now directly
+ reference the external function pointer rather than rely on
+ dynlib lookup
+ \item On Windows, Rtools is automatically added to the PATH
+ during \code{sourceCpp} compilations
+ \item Diagnostics are printed to the console if \code{sourceCpp}
+ fails and C++ development tools are not installed
+ \item A warning is printed if when \code{compileAttributes} detects
+ \code{Rcpp::depends} attributes in source files that are not
+ matched by Depends/LinkingTo entries in the package DESCRIPTION
+ }
}
}
More information about the Rcpp-commits
mailing list