Re: [Rd] existence of easy example of .Call??

From: Thomas Lumley <>
Date: Sat 31 Jul 2004 - 01:28:04 EST

On Fri, 30 Jul 2004 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 mailing list Received on Sat Jul 31 01:32:03 2004

This archive was generated by hypermail 2.1.8 : Wed 03 Nov 2004 - 22:45:04 EST