Re: [Rd] Getting started with .C

2010-04-13 Thread Jeff Brown
That is tremendously helpful.  Thanks Charlie! --- On Mon, 4/12/10, Sharpie [via R] wrote: From: Sharpie [via R] Subject: Re: Getting started with .C To: "Jeff Brown" Date: Monday, April 12, 2010, 10:11 PM Jeff Brown wrote: Hi, I'm trying to learn to use .C, which lets one invoke comp

Re: [Rd] Getting started with .C

2010-04-12 Thread Dirk Eddelbuettel
On 12 April 2010 at 18:11, Sharpie wrote: | Jeff Brown wrote: | > I'm trying to learn to use .C, which lets one invoke compiled C code from | > within R. To do that, one has to first get the C code into R as a shared | > object, which (I think) means first compiling it (with COMPILE or SHLIB) | >

Re: [Rd] Getting started with .C

2010-04-12 Thread Sharpie
Jeff Brown wrote: > > Hi, > > I'm trying to learn to use .C, which lets one invoke compiled C code from > within R. To do that, one has to first get the C code into R as a shared > object, which (I think) means first compiling it (with COMPILE or SHLIB) > and then loading it (with dyn.load()).