Re: [R] Lars package

From: Niels Richard Hansen <Niels.R.Hansen+lists_at_math.ku.dk>
Date: Thu, 07 Apr 2011 14:46:39 -0700

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.

On 07/04/11 05.10, David Winsemius wrote:
>
> On Apr 7, 2011, at 3:43 AM, achin@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

______________________________________________
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.
Received on Thu 07 Apr 2011 - 21:49:26 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 07 Apr 2011 - 21:50:28 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive