Glmnet compilation failed on windows

Since the R glmnet package does not provide binaries for windows, I have to compile it under my win7 64bit operating system. How did I get the 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 the error message "configuration failed for package glmnet".

Can anyone compile glmnet on windows?

+3
source share
2 answers

Trevor Hasti posted this to r-help 12 hours ago:

"We know that glmnet_1.7.3 does not work for windows and are investigating the problem. He has something to do with the gcc compiler a little different from windows against linux / mac platforms. Once we have resolved the problem, we will send a new version to CRAN."

+3
source

64- Windows PATH :

C:\Rtools\MinGW\bin

:

C:\Rtools\gcc-4.6.3\bin

, , DOS, PATH.

: fooobar.com/questions/1903977/...

0

All Articles