[Rd] How can I call a function R from C

From: Ricardo Rios <alfilnegro.sv_at_gmail.com>
Date: Wed 22 Nov 2006 - 20:10:38 GMT


Hi wizards, I have a function in R for example: anyfunction<-function(beta0, popsize, maxgen),

but I have a function in C for example:

SEXP otherfunction(SEXP beta0, SEXP popsize, SEXP maxgen)

I call it function with .Call but I need to call to anyfunction on otherfunction. Does somebody know how to do it?



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Nov 23 07:13:22 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 22 Nov 2006 - 21:30:48 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.