On Fri, 30 Jul 2004 [EMAIL PROTECTED] wrote:
> Dear R-develers,
>
> I have been seraching in vain for an example of source-code, using .Call, to
> call an R-function from within C.
> Am also wondering i this .Call command works for all functions, say if I
> write a function analyse<-function()
> within my R functoin, can this function be called by the c-code called later
> in the same function.
>
There are examples using .C rather than .Call (for backwards
compatibility) in the survival package. The calls to R are in
cox_Rcallback.c and surv_callback.c
-thomas
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-devel