C++ and R: Create a .so or .dll
问题 I have doubt. I know that it is possible to call from a cpp file an R function. But it is possible to compile that cpp file (that has an R function inside -from a package, for example caret -) into a .so or dll ? If it is possible. How does having a chuck of R code inside works. Does the compiled code calls the R interpreter before it compiles or it does not need to? Thanks in advance 回答1: Yes, you can embed R inside of C or C++ application. The API is old, stable, somewhat documented and a