[R] how to call R function from my C++ program

Roger Peng rpeng at stat.ucla.edu
Sat May 3 03:33:16 CEST 2003


It is possible to call R functions from a C++ program.  I suggest reading
the manual "Writing R Extensions" available under the manuals section of
CRAN.

-roger
_______________________________
UCLA Department of Statistics
http://www.stat.ucla.edu/~rpeng

On Fri, 2 May 2003, Yan Yu wrote:

> Hello, there,
>   Is it possible to call R function from my C++ program?
> If yes, How?  what function I should look up for that purpose?
> If someone could provide some pointe, that would be very helpful..
> 
> THe reason I want to do that is that for my analysis, I need to do part of
> the work in Matlab (I find the matrix operation in Matlab is very
> convenient), and part of work in R, and I would like to connect
> them automate the whole process using my C++ program..
> 
> THanks a lot in advance!
> have a nice weekend,
> yan
> 
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
>



More information about the R-help mailing list