[Rd] C access to R libraries

Duncan Murdoch murdoch at stats.uwo.ca
Fri Dec 10 18:47:29 CET 2004


On Fri, 10 Dec 2004 18:27:19 +0100, Jul <jv at climpact.com> wrote :

>Hi all,
>I'm used to code in C and I'm wondering if access to internal R compiled 
>libraries with C is an easy job under linux. Is anyone has experience 
>with that ?
>Some headers seems rather clear and interesting, but binding may not be 
>so easy....
>Actually, my question is: will I have to manipulate complex R objects in 
>C to access to raw statistic functions ?

No, a lot of the functionality doesn't need R objects.  See the "R API
chapter" in the "Writing R Extensions" manual.  I've had no experience
with using it in Linux, but I think it's pretty straightforward.

Duncan Murdoch



More information about the R-devel mailing list