Re: [R] where is internal function of sample()?

From: Thomas Lumley <>
Date: Wed 13 Apr 2005 - 00:10:58 EST

On Mon, 11 Apr 2005, Marc Schwartz wrote:
> A general pattern for C .Internal functions is to use a prefix of "do_"
> in conjunction with the R function name. So in this case, the C function
> is called do_sample and begins at line 391 (for 2.0.1 patched) in the
> aforementioned C source file.

and in the case of the few exceptions to this rule you can look in names.c for a complete table.

         -thomas mailing list PLEASE do read the posting guide! Received on Wed Apr 13 00:32:38 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:31:07 EST