Java Mailing List Archive

http://www.r-help.com/

Home » Home (12/2007) » R Help for Statistical Computing »

[R] calling R from C or C++

Bahoo

2005-07-23

Replies:

Hi,

I have C/C++ code from which I wish I could call R to
do something useful.

I saw a 2003 message by Thomas saying that "You can
compile R as a shared library, which allows you to
construct and evaluate R expressions from C." Any
more information would be helpful. I am looking for
some documentation that has a more step by step like
instructions. Anyone who has experience, please point
me to some resources.

ps. There is a document on CRAN named "Writing R
extensions" which seems relevant, but it was too
difficult for me to understand.

Thanks in advance!

______________________________________________
R-help@(protected)
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
©2008 r-help.com - Jax Systems, LLC, U.S.A.