Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

compiling glmnet failed in windows

Tags:

r

glmnet

Since the R package glmnet doesn't provide binary for windows, so I have to compile it under my OS win7 64bit. How ever I got this error message:

gfortran -m64 -fdefault-real-8 -ffixed-form  -O2  -mtune=core2 -c  newGLMnet.f90
 -o newGLMnet.o
f951.exe: sorry, unimplemented: 64-bit mode not compiled in
make: *** [newGLMnet.o] Error 1
ERROR: compilation failed for package 'glmnet'

I also tried to compile it under windows XP 32bit, but with 'configuration failed for package glmnet' error message.

Has anyone succeed compiling glmnet in Windows?

like image 371
baidao Avatar asked Jul 01 '26 06:07

baidao


1 Answers

Trevor Hastie posted this on r-help 12 hours ago:

"We are aware that glmnet_1.7.3 does not pass for windows and are looking into the problem. It has something to do with the gcc compiler being slightly different on windows versus linux/mac platforms. As soon as we have resolved the issue, we will post a new version to CRAN"

like image 175
IRTFM Avatar answered Jul 03 '26 21:07

IRTFM



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!