[R] Can't install package "glmnet"

Uwe Ligges ligges at statistik.tu-dortmund.de
Fri Apr 24 21:25:11 CEST 2009



Liang Zhang wrote:
> I am just wondering how to solve this installation problem.

As I said, ask your admin to install suitable compilers.

Uwe


> Thanks,
> Liang
> 
> 
> 
> 
> ________________________________
> From: Uwe Ligges <ligges at statistik.tu-dortmund.de>
> To: Liang Zhang <zhangl861 at yahoo.com>
> Cc: r-help at r-project.org
> Sent: Friday, April 24, 2009 2:50:00 AM
> Subject: Re: [R] Can't install package "glmnet"
> 
> 
> 
> Liang Zhang wrote:
>> Hi, I was trying to install package glmnet in R, but failed and it show such messages:
>>
>> * Installing *source* package glmnet ...
>>  This package has only been tested with gfortran.
>>  So some checks are needed.
>>  R_HOME is /home/username/R/R-2.9.0
>> Attempting to determine R_ARCH...
>> R_ARCH is
>> Attempting to detect how R was configured for Fortran 90....
>>     Unsupported Fortran 90 compiler or Fortran 90
>>     compilers unavailable! Stop!
>> ERROR: configuration failed for package glmnet
>> * Removing /home/username/R/R-2.9.0/library/glmnet
>>
>> The downloaded packages are in
>>         /tmp/RtmpwsLWSc/downloaded_packages
>> Updating HTML index of packages in '.Library'
>> Warning message:
>> In install.packages("glmnet") :
>>   installation of package 'glmnet' had non-zero exit status
>>
>>
>> It seems that it needs fortran 90 complier. What can I do to solve this problem? (I am not the administrator, only a user in the linux system).
> 
> Ask for a suitable compiler?
> 
> Uwe Ligges
> 
> 
> 
> 
>> Thank you very much!
>> Liang
>>
>>
>>
>>           [[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.
> 
> 
> 
>




More information about the R-help mailing list