Wed, 06 Apr 2011

Rcpp workshop / master class on April 28 in Chicago

I realized I never announced this on the blog, so without further ado....

Rcpp Workshop in Chicago on April 28, 2011

This year's R/Finance conference will be preceded by a full-day masterclass on Rcpp and related topics which will be held on Thursday, April 28, 2011, on the University of Illinois at Chicago campus.

Join Dirk Eddelbuettel and Romain Francois for six hours of detailed and hands-on instructions and discussions around Rcpp, inline, RInside, RcppArmadillo and other packages---in an intimate small-group setting.

The full-day format allows to combine a morning introductory session with a more advanced afternoon session while leaving room for sufficient breaks. There will be about six hours of instructions, a one-hour lunch break and two half-hour coffee breaks.

Morning session: "A hands-on introduction to R and C++"

The morning session will provide a practical introduction to the Rcpp package (and other related packages). The focus will be on simple and straightforward applications of Rcpp in order to extend R and/or to significantly accelerate the execution of simple functions.

The tutorial will cover the inline package which permits embedding of self-contained C, C++ or Fortran code in R scripts. We will also discuss RInside to embed R code in C++ applications, as well as standard Rcpp extension packages such as RcppArmadillo for linear algebra and RcppGSL.

Afternoon session: "Advanced R and C++ topics"

This afternoon tutorial will provide a hands-on introduction to more advanced Rcpp features. It will cover topics such as writing packages that use Rcpp, how 'Rcpp modules' and the new R ReferenceClasses interact, and how 'Rcpp sugar' lets us write C++ code that is often as expressive as R code. Another possible topic, time permitting, may be writing glue code to extend Rcpp to other C++ projects.

We also hope to leave some time to discuss problems brought by the class participants.


Knowledge of R as well as general programming knowledge; C or C++ knowledge is helpful but not required.

Users should bring a laptop set up so that R packages can be built. That means on Windows, Rtools needs to be present and working, and on OS X the Xcode package should be installed.


Registration is available via the R/Finance conference at

or directly at RegOnline

The cost is USD 500 for the whole day, and space will be limited.


Please contact us directly at

/code/rcpp | permanent link

RcppGSL 0.1.1

A pure maintenance release of RcppGSL---our interface package between R and the GNU GSL using our Rcpp package for seamless R and C++ integration---is now on CRAN

It contains no new code, but smoothes one or two edges in the build process and noticed by the newest versions of R CMD check. It also adds vignette from the unit tests as some of our other packages do.

The short NEWS file extract follows below.

0.1.1   2011-04-05

    o   Unit tests produce a summary vignette as for some of the other packages

    o   The documentation Makefile now uses the $R_HOME environment variable

    o   The documentation Makefile no longer calls clean in the all target

And courtesy of CRANberries, here are the changes to the previous release.
Diff between RcppGSL versions 0.1.0 dated 2010-12-01 and 0.1.1 dated 2011-04-06

 ChangeLog                      |   22 ++++++++++++++++++++
 DESCRIPTION                    |    8 +++----
 inst/NEWS                      |    8 +++++++
 inst/doc/Makefile              |   28 ++++++++++++++++++++------
 inst/doc/RcppGSL-unitTests.Rnw |only
 inst/doc/RcppGSL-unitTests.pdf |only
 inst/doc/RcppGSL-unitTests.tex |only
 inst/doc/RcppGSL.pdf           |binary
 inst/doc/RcppGSL/RcppGSL.Rnw   |   43 ++++++++++++++++++-----------------------
 inst/doc/unitTests             |only
 src/                |    2 -
 11 files changed, 75 insertions(+), 36 deletions(-)

More information is on the RcppGSL page. Questions, comments etc should go to the rcpp-devel mailing list off the R-Forge page.

/code/rcpp | permanent link