Rcpp is a free and open source R/C++ interface class library which maps data types betweeen R and C++, and includes support for R types real, integer, character, vector, matrix, Date, datetime, (i.e. POSIXct) data frame, and function.
Rcpp will provide developers with C++ classes that greatly facilitate interfacing C or C++ code in R packages using the .Call() interface provided by R.
Rcpp provides matching C++ classes for a large number of basic R data types. Hence, a package author can keep his data in normal R data structures without having to worry about translation or transfering to C++. At the same time, the data structures can be accessed as easily at the C++ level, and used in the normal manner.
Requirements:
· R 2.10.0 or later