rcpp
How do I compile a dll with R and RCPP?
I have written a .cpp file and I want to compile it to a .dll for use with R and RCPP. (without using the inline package).[详细]
2023-04-12 04:37 分类:问答R data frame and which.min() equivalent in c++
开发者_Python百科I\'m translating R code to c++ and I\'d like to find an equivalent (optimal) structure which would allow the same kind of operations than a data frame, but in c++.[详细]
2023-03-19 16:25 分类:问答Basic documentation for Rcpp
I want to look into rcpp to improve the speed of some of my R code without having to resort to messy C++ code (I\'ve had some success with that, but it looks like code from hell).[详细]
2023-03-05 10:47 分类:问答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 nested for loops to operate 开发者_运维技巧on individual values of a matrix, one column at a time. Th[详细]
2023-03-03 15:38 分类:问答In R what are the common cases of this error: "Value of SET_STRING_ELT() must be a 'CHARSXP' not a 'character'"
I\'m fighting with a strange problem in R. I use an old version of Rcpp to integrate R with some C++ (sadly upgrading is not an option!), the Rcpp I use is the old RccpTemplate one. However I doubt th[详细]
2023-02-21 15:09 分类:问答"linker input file" unused error when trying to compile C++ code using R's g++ compiler
I am trying to use some code from OpenCV in an R package, using Rcpp to build the package.When I compile the c code on my machine, it works fine.[详细]
2023-02-17 18:30 分类:问答How can I pass flags to R when it is compiling C++ code to be used in a package?
I am trying to use some code from OpenCV开发者_如何学Python in an R package, using Rcpp to build the package.When I compile the c code on my machine, it works fine.[详细]
2023-02-17 07:50 分类:问答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 suited for large data sets. So I was wondering where I can find what the practical limits are and any[详细]
2023-02-16 00:43 分类:问答R instantiation when called from c++
I am using Rcpp and RInside, to interconnectmy 开发者_JAVA百科R based code to c++. I make multiple distinct calls to R from c++. I wanted to know if each call to R, creates a new instance of R ?[详细]
2023-02-12 22:38 分类:问答Error while compiling RInside code
I want to compile a R code using RInside. But I am getting errors while using the function read.csv. The code snippet is given below:[详细]
2023-02-12 07:48 分类:问答