[Rd] Location of Internal Code

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue May 3 13:10:22 CEST 2011



On 03.05.2011 01:59, Robin Evans wrote:
> Hello,
>
> This seems like a fairly elementary question, but I couldn't seem to
> find the answer anywhere online.
>
> Where can I find code which is called with .Internal?  Specifically,
> the R function colSums() calls an internal function with the same name
> (I presume a C function), and I'd like to see how it works.
>
> I've searched through the header files in R-2.x.x/include/ (Windows
> version), but to no avail.

They are only used for external function to be able to link against R.

For .Internal() (for example), see ./src/main/names.c and the names they 
refer to (also in other files in ./src/main)

Uwe Ligges


>
> Thanks,
>
> Robin
>



More information about the R-devel mailing list