Agustin Lobo
2001-Oct-19 13:12 UTC
[R] C function that calls R function and is called by R
Hi! Could anybody send me (or point to) a simple example of a C function (called from R with .Call() ) that calls itself an R function (i.e., union()) ? It would be great help. 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Jesus Maria Frias Celayeta
2001-Oct-19 15:15 UTC
[R] C function that calls R function and is called by R
Hi Agustin, You can find examples in the "Writing R extensions" section 4.8 "Evaluating R expression from C". cheers, IOsu Jesus Maria Frias Celayeta, PhD. Process Engineering Department University College Cork. Ireland phone: 353-21-4903097 fax: 353-21-4270249 http://www.ucc.ie/acad/departments/processeng/staff/friasj.html On Fri, 19 Oct 2001, Agustin Lobo wrote:> > Hi! > > Could anybody send me (or point to) a simple example of a > C function (called from R with .Call() ) that calls > itself an R function (i.e., union()) ? > > It would be great help. 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 > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._