Top "Rcpp" questions

Rcpp provides seamless integration of C++ code in R.

Rcpp matrix: loop over rows, one column at a time

This is my first time trying Rcpp and this very simple problem is giving me trouble. I want to use …

r rcpp
Using 3rd party header files with Rcpp

I have a header file called coolStuff.h that contains a function awesomeSauce(arg1) that I would like to use …

c++ r rcpp
Error when with Xcode 5.0 and Rcpp (Command Line Tools ARE installed)

I have a new iMac and I'm trying to run code using the Rcpp library that has been working on …

xcode r macos rcpp
Fatal error: Unable to open the base package

So, now I have managed to compile the hello program of RInside on WindowsXP (VirtualBox). But, when I click on …

windows r cygwin rcpp rinside
How to handle list in R to Rcpp

I have a list in R that x<-list(c(1,2,3), c(4,5), c(5,5), c(6)). I want to input the list …

c++ r list rcpp
Where can I learn how to write C code to speed up slow R functions?

What's the best resource for learning how to write C code for use with R? I know about the system …

r rcpp
Link error installing Rcpp "library not found for -lintl"

I just stumbled over a linker error when trying to install some R packages which have Rcpp as a dependency. …

r homebrew osx-mavericks rcpp
convert Rcpp::CharacterVector to std::string

I am trying to open a file within an Rcpp function, so I need the file name as a char* …

c++ r rcpp