Dirk Eddelbuettel: Rcpp 0.12.0: Now with more Big Data!
A new release 0.12.0 of Rcpp arrived on the CRAN network for GNU R this morning, and I also pushed a Debian package upload.
Rcpp has become the most popular way of enhancing GNU R with C++ code. As of today, 423 packages on CRAN depend on Rcpp for making analyses go faster and further. Note that this is 60 more packages since the last release in May! Also, BioConductor adds another 57 packages, and casual searches on GitHub suggests many more.
And according to Andrie De Vries, Rcpp has now page rank of one on CRAN as well!
And with this release, Rcpp also becomes ready for Big Data, or, as they call it in Texas, Data.
Thanks to a lot of work and several pull requests by Qiang Kou, support for R_xlen_t has been added.
That means we can now do stunts like
R> library(Rcpp)
R> big <- 2^31-1
R> bigM <- rep(NA, big)
R> bigM2 <- c(bigM, bigM)
R> cppFunction("double getSz(LogicalVector x) return x.length(); ")
R> getSz(bigM)
[1] 2147483647
R> getSz(bigM2)
[1] 4294967294
R>
where prior versions of Rcpp would just have said
> getSz(bigM2)
Error in getSz(bigM2) :
long vectors not supported yet: ../../src/include/Rinlinedfuns.h:137
>
which is clearly not Texas-style. Another wellcome change, also thanks to Qiang Kou, adds encoding support for strings.
A lot of other things got polished. We are still improving exception handling as we still get the odd curveballs in a corner cases. Matt Dziubinski corrected the var() computation to use the proper two-pass method and added better support for lambda functions in Sugar expression using sapply(), Qiang Kou added more pull requests mostly for string initialization, and Romain added a pull request which made data frame creation a little more robust, and JJ was his usual self in tirelessly looking after all aspects of Rcpp Attributes.
As always, you can follow the development via the GitHub repo and particularly the Issue tickets and Pull Requests. And any discussions, questions, ... regarding Rcpp are always welcome at the rcpp-devel mailing list.
Last but not least, we are also extremely pleased to annouce that Qiang Kou has joined us in the Rcpp-Core team. We are looking forward to a lot more awesome!
See below for a detailed list of changes extracted from the NEWS file.
Changes in Rcpp version 0.12.0 (2015-07-24)Thanks to CRANberries, you can also look at a diff to the previous release As always, even fuller details are on the Rcpp Changelog page and the Rcpp page which also leads to the downloads page, 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 page.
- Changes in Rcpp API:
Rcpp_eval()no longer usesR_ToplevelExecwhen evaluating R expressions; this should resolve errors where calling handlers (e.g. throughsuppressMessages()) were not properly respected.- All internal length variables have been changed from
R_len_ttoR_xlen_tto support vectors longer than 2^31-1 elements (via pull request 303 by Qiang Kou).- The sugar function
sapplynow supports lambda functions (addressing issue 213 thanks to Matt Dziubinski)- The
varsugar function now uses a more robust two-pass method, supports complex numbers, with new unit tests added (via pull request 320 by Matt Dziubinski)Stringconstructors now allow encodings (via pull request 310 by Qiang Kou)Stringobjects are preserving the underlyingSEXPobjects better, and are more careful about initializations (via pull requests 322 and 329 by Qiang Kou)- DataFrame constructors are now a little more careful (via pull request 301 by Romain Francois)
- For R 3.2.0 or newer,
Rf_installChar()is used instead ofRf_install(CHAR())(via pull request 332).- Changes in Rcpp Attributes:
- Use more robust method of ensuring unique paths for generated shared libraries.
- The
evalCppfunction now also supports thepluginsargument.- Correctly handle signature termination characters (' ' or ';') contained in quotes.
- Changes in Rcpp Documentation:
- The
Rcpp-FAQvignette was once again updated with respect to OS X issues and Fortran libraries needed for e.g. RcppArmadillo.- The included
Rcpp.bibbibtex file (which is also used by other Rcpp* packages) was updated with respect to its CRAN references.
This post by Dirk Eddelbuettel originated on his Thinking inside the box blog. Please report excessive re-aggregation in third-party for-profit settings.
I just pushed a new release of PiwigoPress (
The new features are:







Some time ago we've decided to move
So we've recently spent our first week together in Helsinki, Finland.
Mostly this has been stress-free, but there are always oddities about living in new places, and moving to Europe didn't minimize them.
For the moment I'll gloss over the differences and instead document the computer problem I had. Our previous shared-desktop system had a pair of drives configured using software RAID. I pulled one of the drives to use in a smaller-cased system (smaller so it was easier to ship).
Only one drive of a pair being present make mdadm scream, via email, once per day, with reports of failure.
The output of cat /proc/mdstat looked like this:
I attended OSCON's closing sessions today and was delighted to see my
friend Stefano Zacchiroli (Zack) receive an
One more update on the the
so that Google can improve their proprietary algorithms for classifying mail. If you just read or reply to a message in the folder without clicking the button, or if you don't do this for every message, including mailing list posts and other trivial notifications that are not actually spam, more important messages from the same senders will also continue to be misclassified.
If you are not willing to volunteer your time to do this, or if you are simply one of those people who has better things to do, Google's Gmail service is going to have a corrosive effect on your relationships.
A few months ago, we visited Australia and I sent emails to many people who I wanted to catch up with, including invitations to a family event. Some people received the emails in their inboxes yet other people didn't see them because the systems at Google (and other companies, notably Hotmail) put them in a spam folder. The rate at which this appeared to happen was definitely higher than the 0.05% quoted in the Google article above. Maybe the Google spam filters noticed that I haven't sent email to some members of the extended family for a long time and this triggered the spam algorithm? Yet it was at that very moment that we were visiting Australia that email needs to work reliably with that type of contact as we don't fly out there every year.
A little bit earlier in the year, I was corresponding with a few students who were applying for
Full wireless microphone kits with microphone, transmitter and receiver are usually $US500 or more.
The
Time for a quick recap of the beginning of the Stretch release cycle
as far as the Debian Installer is concerned:
Some time ago, pabs
Sony RX100-III
Back in 2010 when I needed an ADSL2 router in the US I bought a
Update: A Canonical employee responded
after the release is before the release. or: long time no RC bug
report.
after the