From ligges at statistik.tu-dortmund.de  Tue May  3 13:10:22 2011
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Tue, 03 May 2011 13:10:22 +0200
Subject: [Rd] Location of Internal Code
In-Reply-To: <BANLkTi=-quho_Wb0wVphqqxiEyyCJb430w@mail.gmail.com>
References: <BANLkTi=-quho_Wb0wVphqqxiEyyCJb430w@mail.gmail.com>
Message-ID: <4DBFE29E.10100@statistik.tu-dortmund.de>



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
>



[Rd] Location of Internal Code
Uwe Ligges