[R] interfacing C into R and R packages

2003-11-04 Thread Peyrard Nathalie
Hi, I would like to interface a C code into R. Is it possible to use in the C code, functions from a R package (for instance, to use pmvnorm within loops in the C code and to call the result in a R function)? Nathalie __ [EMAIL PROTECTED] mailing

Re: [R] interfacing C into R and R packages

2003-11-04 Thread Ko-Kang Kevin Wang
I think Writing R Extensions may help you with that... On Tue, 4 Nov 2003, Peyrard Nathalie wrote: Date: Tue, 04 Nov 2003 10:19:00 +0100 From: Peyrard Nathalie [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [R] interfacing C into R and R packages Hi, I would like to interface a C

Re: [R] interfacing C into R and R packages

2003-11-04 Thread Kurt sys
Hello, I'm not sure, but if I understand your question well, we have had such questions already plenty of times. I guess, Google/STFW/RTFM/writing R extensions. It's easy, it's well-explained, ... Kurt. Peyrard Nathalie wrote: Hi, I would like to interface a C code into R. Is it possible to

Re: [R] interfacing C into R and R packages

2003-11-04 Thread Torsten Hothorn
Hi, I would like to interface a C code into R. Is it possible to use in the C code, functions from a R package (for instance, to use pmvnorm within loops in the C code and to call the result in a R function)? Probably the most easiest way is copying the C-sources from the original