Top "Rcpp" questions

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

Speed up the loop operation in R

I have a big performance problem in R. I wrote a function that iterates over a data.frame object. It …

performance r loops rcpp r-faq
Error in loadNamespace(name) : there is no package called 'Rcpp'

I am trying to embed RInside to my application on win7 64-bit system but when I initialize an RInside: Rin = …

r rcpp rinside
Practical limits of R data frame

I have been reading about how read.table is not efficient for large data files. Also how R is not …

r performance dataframe rcpp
Replace negative values by zero

We want to set all values in an array zero that are negative. I tried out a a lot of …

r if-statement for-loop conditional-statements rcpp
R install.packages returns "failed to create lock directory"

I get this error when downloading the Rcpp package: > install.packages("Rcpp", dependencies=TRUE) Installing package(s) into ‘/home/…

r package rcpp
Understanding the contents of the Makevars file in R (macros, variables, ~/.R/Makevars and pkg/src/Makevars)

I am trying to understand the role and relationship of the macros/variables set in ~/.R/Makevars and package_directory/…

r rcpp
How do I create a list of vectors in Rcpp?

I'm writing an Rcpp module an would like to return as one element of the RcppResultSet list a list whose …

r rcpp
ld: warning: text-based stub file are out of sync. Falling back to library file for linking

When I am trying to sourceCpp, it gives a warning: ld: warning: text-based stub file /System/Library/Frameworks//CoreFoundation.framework/…

r xcode macos rcpp linker-warning
R CRAN, install library Rcpp fails after R3.2 upgrade

I upgraded from R-3.1 to R-3.2. OK ( Standard upgrade) But this upgrade seems to have lost all the installed packages ( …

r rcpp cran
Rcpp can't find Rtools: "Error 1 occurred building shared library"

I am running into a simple setup problem with Rcpp and I cannot get it to work. I tried to …

r rcpp