Re: [R] calling R from C or C++

From: Bahoo <b83503104_at_yahoo.com>
Date: Sun 24 Jul 2005 - 13:18:19 EST


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

By calling I mean linking with the R shared library, instead of R BATCH.

In particular, I want to use regression functions such as ridge and locfit.

>
> 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.
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sun Jul 24 13:21:43 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:33:58 EST