[R] Lars package

Niels Richard Hansen Niels.R.Hansen+lists at math.ku.dk
Thu Apr 7 23:46:39 CEST 2011


Achin

Without dwelling too much on the semantic problem, the answer
to my understanding of your question is: No, there is no C code in the
lars package, but there is a single Fortran routine in the package.
The Fortran routine does not seem to do anything useful in itself.

By the way, the more recent glmnet package by the same authors provides
a faster alternative to lars (for lasso), and it works for glm's too.

- Niels

On 07/04/11 05.10, David Winsemius wrote:
>
> On Apr 7, 2011, at 3:43 AM, achin at cse.iitb.ac.in wrote:
>
>> Hello,
>>
>> I am a student of IIT Bombay and I am using lars for one of my projects. I
>> wanted to enquire if lars is using C under the hood. Is it true? Can
>> someone point me to the corresponding C function? Thank You very much.
>>
>
> If you just type lars at the console (after loading the package) , you will see
> the uncommented code.
>
> Most of R has "C (or Fortran) under the hood", so there may be a semantic
> problem in answering that direct question.
>
> You can get the full source on any CRAN mirror.

-- 
Niels Richard Hansen                     Web:   www.math.ku.dk/~richard	
Associate Professor                      Email: Niels.R.Hansen at math.ku.dk
Department of Mathematical Sciences             nielsrichardhansen at gmail.com
University of Copenhagen                 Skype: nielsrichardhansen.dk	
Universitetsparken 5                     Phone: +1 510 502 8161	
2100 Copenhagen Ø
Denmark



More information about the R-help mailing list