[R] Source code for rlogis

Peter Dalgaard p.dalgaard at biostat.ku.dk
Mon Jun 25 08:41:46 CEST 2007


Anup Nandialath wrote:
> Dear friends,
>
> I was trying to read the source code for rlogis but ran into a roadblock. It shows
>
> [[1]]
> function (n, location = 0, scale = 1) 
> .Internal(rlogis(n, location, scale))
> <environment: namespace:stats>
>
> Is is possible to access the source code for the same.
>
>   
Yes, but as it is .Internal, you have to look in the (C code) sources 
for R itself. You can access that either by getting the source files for 
R and unpacking them somewhere on your computer, or by browsing e.g. 
https://*svn*.*R*-project.org/*R*/tags/R-2-5-0 or  
https://svn.r-project.org/R/branches/R-2-5-branch. Specifically, 
src/nmath/rlogis.c.



More information about the R-help mailing list