d*******0 发帖数: 113 | 1 日志如下:请达人不吝赐教!
谢谢!
* Installing *source* package 'glmnet' ...
This package requires a fortran 90 compiler. We assume
that your fortran 90 environment is set up appropriately.
Reference: Section on 'Using F95 code' in R-exts manual.
R configured for gfortran...
configure: creating ./config.status
config.status: creating src/Makevars
** libs
gfortran -fdefault-real-8 -ffixed-form -fpic -g -O2 -c newermultGLMnet.f90 -
o newermultGLMnet.o
gfortran -shared -L/usr/local/lib64 -o glmnet.so newermultGLMnet.o -L/sara/
sw/R-2.7.1/lib64/R/lib -lR
** R
** inst
** preparing package for lazy loading
Error: package 'Matrix' required by 'glmnet' could not be found
Execution halted
ERROR: lazy loading failed for package 'glmnet'
** Removing '/home/pgccnv/R/x86_64-pc-linux-gnu-library/2.7/glmnet'
The downloaded packages are in
/scratch/Rtmpdp9J8q/downloaded_packages
Warning messages:
1: In install.packages("glmnet") : dependency 'Matrix' is not available
2: In install.packages("glmnet") :
installation of package 'glmnet' had non-zero exit status |
a9 发帖数: 21638 | 2 这不说的很明白吗?
需要安装Matrix包。
-
【在 d*******0 的大作中提到】 : 日志如下:请达人不吝赐教! : 谢谢! : * Installing *source* package 'glmnet' ... : This package requires a fortran 90 compiler. We assume : that your fortran 90 environment is set up appropriately. : Reference: Section on 'Using F95 code' in R-exts manual. : R configured for gfortran... : configure: creating ./config.status : config.status: creating src/Makevars : ** libs
|
w******i 发帖数: 34 | |
d*******0 发帖数: 113 | 4 matrix 没法装
日志如下:
install.packages("Matrix")
Warning in install.packages("Matrix") :
argument 'lib' is missing: using '/home/pgccnv/R/x86_64-pc-linux-gnu-
library/2.7'
Warning message:
In install.packages("Matrix") : package 'Matrix' is not available |
a9 发帖数: 21638 | 5 去找这个包装啊。
【在 d*******0 的大作中提到】 : matrix 没法装 : 日志如下: : install.packages("Matrix") : Warning in install.packages("Matrix") : : argument 'lib' is missing: using '/home/pgccnv/R/x86_64-pc-linux-gnu- : library/2.7' : Warning message: : In install.packages("Matrix") : package 'Matrix' is not available
|
d*******0 发帖数: 113 | |