Calling R Script from within C-Code

Posted by tiny81 on Stack Overflow See other posts from Stack Overflow or by tiny81
Published on 2010-04-19T17:44:26Z Indexed on 2010/04/19 18:23 UTC
Read the original article Hit count: 139

Filed under:
|
|
|

Hi,

Is there a way to call an R-Script within C-Code?

I did find the R Api for C (chaper 6. of the 'Writing R Extensions' manual), but as far as I understood this does "only" allow to call the C-Implementation of R. Of cause I could call the R-Script via shell, but that's no solution for me, since this does not allow proper passing of data (at least no if I don't what to write the data into a Csv-File or something like this). Is there a easy way of using the R to C parser beforehand?

Any hints you can give me?

regards, Tiny

© Stack Overflow or respective owner

Related posts about r

    Related posts about c