Displaying 1 result from an estimated 1 matches for "s_call".
Did you mean:
__call
1999 Apr 07
1
library
...ot;Rand" function that just calls a C function that returns the
random variate.
Now in R I put .C("Setup_system",as.double(par1),MyDist,....
How do I pass the name of the R function that evaluates the
distribution? i.e. MyDist()
and in Setup_system.c() how do I call the R function?
S_Call("MyDist",par1,..
Thanks for any help in any or both questions.
..
R. Heberto Ghezzo Ph.D.
Meakins-Christie Labs
McGill University
Montreal - Canada
heberto at meakins.lan.mcgill.ca
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read...