From alfilnegro.sv at gmail.com  Wed Nov 22 21:10:38 2006
From: alfilnegro.sv at gmail.com (Ricardo Rios)
Date: Wed, 22 Nov 2006 14:10:38 -0600
Subject: [Rd] How can I call a function R from C
Message-ID: <50a711930611221210l21bf78d7q29030644006ddeb5@mail.gmail.com>

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?



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