[R] C code and R

About this list Date view Thread view Subject view Author view Attachment view

From: Agustin Lobo (alobo@ija.csic.es)
Date: Mon 09 Jul 2001 - 23:50:16 EST


Message-id: <Pine.OSF.3.96.1010709154519.2609J-100000@ija.csic.es>


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@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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 10 Mar 2004 - 08:18:19 EST