From murdoch at stats.uwo.ca  Fri Dec 10 18:47:29 2004
From: murdoch at stats.uwo.ca (Duncan Murdoch)
Date: Fri Dec 10 18:47:49 2004
Subject: [Rd] C access to R libraries
In-Reply-To: <41B9DC77.8040904@climpact.com>
References: <41B9DC77.8040904@climpact.com>
Message-ID: <k6ojr0to8a3ml3qpnr8vr60bsgr8lhugqe@4ax.com>

On Fri, 10 Dec 2004 18:27:19 +0100, Jul <jv@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


[Rd] C access to R libraries
Duncan Murdoch