[This article was first published on Thinking inside the box , and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Two weeks after the Rcpp 0.7.0 release,
Romain and I are happy to announce release 0.7.1 of
Rcpp. It is
currently in the incoming section of
CRAN and has been
accepted into Debian. Mirrors will catch
up over the next few days, in the meantime the
local page is
available for download too.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
A lot has changed under the hood since 0.7.0, and this is the first release that really reflects many of Romain‘s additions. Some of the changes are
- A new base class
Rcpp::RObject
that replacesRcppSexp
(which is still provided for compatibility); it provides basic R object handling and other new classes derive from it. Rcpp::RObject
has real simple wrappers for object creation and a SEXP operator for transfer back to R that make simple interfaces even easier.- New classes
Rcpp::Evaluator
andRcpp::Environment
for expression evaluation and R environment access, respectively. - A new class
Rcpp::XPtr
for external pointer access and management. - Enhanced exception handling: exception can be trapped at the R even outside of try/catch blocks, see Romain’s blog post for more.
- Namespace support with the addition of a Rcpp namespace; we will be incremental in phasing this in keeping compatibility with the old interface
- Unit test for most all of the above via use of the
RUnit
package, and several new examples. - Inline support has been removed and replaced with a Depends: on
inline (>= 0.3.4)
as our patch is now part of the current inline package as mentioned < here.
To leave a comment for the author, please follow the link and comment on their blog: Thinking inside the box .
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.