RInside 0.2.5 arrived on CRAN earlier today. RInside is a set of convenience classes which facilitate embedding of R inside of C++ applications and programs, using the classes and functions provided by the Rcpp R and C++ integration package.
The big news for this release is that Windows applications once again run! James
Bates gets full credit for noticing why Windows binaries died on startup,
and provided a short patch which we (after some further simplicifcation)
added. So for the first time since the 0.2.0 release, Windows users can just change
examples/standard directory and issue a simple
make -f Makefile.win, and the twelve example binaries will
actually work. Yay, and kudos to James.
The other main addition is a new examples directory
containing the web-application of the density estimation demo I
last week. By combining the Wt
toolkit with RInside, we get C++
“web” applications containing R which
is pretty nifty. The example otherwise follows the
Qt-based example of a standard desktop application with
One minor snafu I just noticed is that I was overzealous with the
.Rbuildignore file. By excluding the
qtbinaries, I also excluded
their source files with the same name (up to the .cpp or .h ending). If you
desire to run the examples, just grab these examples files from the
SVN repo at R-Forge.
All changes since the last release are summarized below:
CRANberries also provides a short report with changes from the previous release. More information is on the RInside page. Questions, comments etc should go to the rcpp-devel mailing list off the Rcpp R-Forge page.0.2.5 2011-12-07 o Applied (somewhat simplified) patch by James Bates which restores RInside to working on Windows -- with a big Thank You! to James for fixing a long-standing bug we inadvertendly introduced right after 0.2.0 almost two years ago o New example embedding R inside a Wt (aka Webtoolkit, pronounced 'witty') application, mirroring the previous Qt application o Qt example qtdensity now uses the new svg() device in base R; removed test for cairoDevice package as well as fallback png code o Very minor fix to qmake.pro file for Qt app correcting link order