[R] C code and R

Agustin Lobo alobo at ija.csic.es
Mon Jul 9 15:50:16 CEST 2001


A couple of questions on calling C programs
from R functions:

1. Is there any other guide on this matter in addition to
Writing R Extensions ?

2. Writing R Extensions starts dealing with C programs
assuming that those have already been compiled:
"Interface functions .C and .Fortran

These two functions provide a standard interface to compiled code that has
been linked into R,... "

Are there any constraints that should be considered 
at compiling a function that is intended to be called by R?

Splus (unix v 3.x) used to have an script 
(Splus COMPILE) to make sure that the compilation was done
with the proper flags. Is there an equivalent R COMPILE 
script?

Thanks

Agus

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es


-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list