|
|
|
|
|
by tylermw
1803 days ago
|
|
Once your Rcpp code is compiled, it's almost indistinguishable from base R (when you're calling it). All R functions eventually end up calling R primitives written in C, and Rcpp just simplifies the process of writing and linking C/C++ code into the R interpreter. The only difficulty with Rcpp-based R packages is you have to ensure the target system can compile the code, which means having a suitable compiler available. |
|
For instance, I imagine there is an R library that makes it easy to automatically run R code on a GPU. Can that library also work with Rcpp functions?