It's probably available at CRAN by downloading the package source
here: http://cran.r-project.org/web/packages/glmnet/index.html
Look in the /src/ directory.
Michael
On Wed, Oct 26, 2011 at 9:42 PM, Axel Urbiz <axel.urbiz at gmail.com>
wrote:> Hi,
>
> My apologies for asking this question, but could not find the answer
> elsewhere. I understand the glmnet package uses Fortran code. For example,
> the lognet.R file includes the lines of code shown below. But how can I see
> the Fortran code that is being referenced in the code below? Is that
> provided somewhere in the package source code?
>
> .Fortran("lognet",
>
>
parm=alpha,nobs,nvars,nc,as.double(x),y,offset,jd,vp,ne,nx,nlam,flmin,ulam,thresh,isd,maxit,kopt,
> ? ? ? ? ?lmu=integer(1),
> ? ? ? ? ?a0=double(nlam*nc),
> ? ? ? ? ?ca=double(nx*nlam*nc),
> ? ? ? ? ?ia=integer(nx),
> ? ? ? ? ?nin=integer(nlam),
> ? ? ? ? ?nulldev=double(1),
> ? ? ? ? ?dev=double(nlam),
> ? ? ? ? ?alm=double(nlam),
> ? ? ? ? ?nlp=integer(1),
> ? ? ? ? ?jerr=integer(1),PACKAGE="glmnet"
> ? ? ? ? ?)
> Thanks for your help.
>
> Regards,
> Axel.
>
> ? ? ? ?[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>