Skip to content
Back to formatted view

Raw Message

Message-ID: <49F18B48.3050907@statistik.tu-dortmund.de>
Date: 2009-04-24T09:50:00Z
From: Uwe Ligges
Subject: Can't install package "glmnet"
In-Reply-To: <481905.76684.qm@web59402.mail.ac4.yahoo.com>

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.