Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
src/Makevars
when compiling, and should generally avoid building issues such
as the dreaded fails on paths with spaces still annoying users of a
certain OS.
There are a number of other fixes, upgrades and other extensions detailed in
NEWS
file extract below, in the ChangeLog file in the package and on the
Rcpp Changelog page
as well as in a release announcement I’ll post later.
Thanks to CRANberries, you can also look at a diff to the previous release 0.10.6. As always, even fuller details are on the Rcpp Changelog page and the Rcpp page which also leads to the downloads, the browseable doxygen docs and zip files of doxygen output for the standard formats. A local directory has source and documentation too. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge pageChanges in Rcpp version 0.11.0 (2014-02-02)
Changes in Rcpp API:
Functions provided/used by Rcpp are now registered with R and instantiated by client package alleviating the need for explicit linking against
libRcpp
which is therefore no longer created.Updated the
Rcpp.package.skeleton()
function accordingly.New class
StretchyList
for pair lists with fast addition of elements at the front and back. This abstracts the 3 functionsNewList
,GrowList
andInsert
used in various packages and in parsers in R.The function
dnt
,pnt
,qnt
sugar functions were incorrectly expanding to the no-degree-of-freedoms variant.Unit tests for
pnt
were added.The sugar table function did not handle NAs and NaNs properly for numeric vectors. Fixed and tests added.
The internal coercion mechanism mapping numerics to strings has been updated to better match < face="Courier New,Courier" color="#666666">R< > (specifically with
Inf
,-Inf
, andNaN
.)Applied two bug fixes to Vector
sort()
andRObject
definition spotted and corrected by Kevin UsheyNew
checkUserInterrupt()
function that provides a C++ friendly implementation ofR_CheckUserInterrupt
.Changes in Rcpp attributes:
Embedded R code chunks in sourceCpp are now executed within the working directory of the C++ source file.
Embedded R code chunks in sourceCpp can now be disabled.
Changes in Rcpp documentation:
The Rcpp-FAQ and Rcpp-package vignettes have been updated and expanded.
Vignettes are now typeset with grey background for code boxes.
The bibtex reference file has been update to reflexct current package versions.
Changes in Rcpp unit tests:
The file
tests/doRUnit.R
was rewritten following the pattern deployed in RProtoBuf which is due to Murray StokelyThe function
test()
was rewritten; it provides an easy entry point to running unit tests of the installed package
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
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.