Open nicholasprice79 opened 5 years ago
Hi,
I am trying to install 'lfmm' on R 3.6.1 (windows 64bit) and I am having the following problem,can you help me?
devtools::install_github("bcm-uga/lfmm")
Downloading GitHub repo bcm-uga/lfmm@master
√ checking for file 'C:\Users\XH\AppData\Local\Temp\Rtmpkjoedu\remotes28c090d5e48\bcm-uga-lfmm-5411c35/DESCRIPTION' ...
- preparing 'lfmm':
√ checking DESCRIPTION meta-information ...
- cleaning src
- checking for LF line-endings in source and make files and shell scripts
- checking for empty or unneeded directories
- looking to see if a 'data/datalist' file should be added
- building 'lfmm_0.0.tar.gz'
Installing package into ‘C:/Users/XH/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
* installing *source* package 'lfmm' ...
** using staged installation
** libs
*** arch - i386
C:/Rtools/mingw_32/bin/g++ -I"C:/PROGRA~1/R/R-36~1.0/include" -DNDEBUG -I"C:/Users/XH/Documents/R/win-library/3.6/Rcpp/include" -I"C:/Users/XH/Documents/R/win-library/3.6/RcppEigen/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o
sh: C:/Rtools/mingw_32/bin/g++: No such file or directory
make: *** [C:/PROGRA~1/R/R-36~1.0/etc/i386/Makeconf:215: RcppExports.o] Error 127
ERROR: compilation failed for package 'lfmm'
* removing 'C:/Users/XH/Documents/R/win-library/3.6/lfmm'
Error: Failed to install 'lfmm' from GitHub:
(converted from warning) installation of package ‘C:/Users/XH/AppData/Local/Temp/Rtmpkjoedu/file28c044db129d/lfmm_0.0.tar.gz’ had non-zero exit status
@nicholasprice79 The issue you are experiencing is due to a space in your username: "Nicholas Price". R is, for some reason, erroring out because of that. This was probably not very tested on windows, but rather on *nix systems where usernames cannot have whitespace. You can try the workaround stated here
@xiahui625649 You are probably missing "Rtools". Check this guide for instructions on how to do that.
Hi,
I am trying to install 'lfmm' on R 3.6.1 (windows 64bit) and I am having the following problem
package ‘RcppEigen’ successfully unpacked and MD5 sums checked
The downloaded binary packages are in C:\Users\Nicholas Price\AppData\Local\Temp\RtmpsRg0R3\downloaded_packages
checking for file 'C:\Users\Nicholas Price\AppData\Local\Temp\RtmpsRg0R3\remotes8846a757c73\bcm-uga-lfmm-5411c35/DESCRIPTION' ...
√ checking for file 'C:\Users\Nicholas Price\AppData\Local\Temp\RtmpsRg0R3\remotes8846a757c73\bcm-uga-lfmm-5411c35/DESCRIPTION'
preparing 'lfmm': checking DESCRIPTION meta-information ...
checking DESCRIPTION meta-information ...
√ checking DESCRIPTION meta-information
cleaning src
checking for LF line-endings in source and make files and shell scripts
checking for empty or unneeded directories
looking to see if a 'data/datalist' file should be added
building 'lfmm_0.0.tar.gz'
installing source package 'lfmm' ... using staged installation libs C:/Rtools/mingw_64/bin/g++ -I"C:/PROGRA~1/R/R-3.6.1/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/RcppEigen/include" -O2 -Wall -mtune=generic -c RcppExports.cpp -o RcppExports.o C:/Rtools/mingw_64/bin/g++ -I"C:/PROGRA~1/R/R-3.6.1/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/RcppEigen/include" -O2 -Wall -mtune=generic -c helpers.cpp -o helpers.o C:/Rtools/mingw_64/bin/g++ -I"C:/PROGRA~1/R/R-3.6.1/include" -DNDEBUG -I"C:/Program Files/R/R-3.6.1/library/Rcpp/include" -I"C:/Program Files/R/R-3.6.1/library/RcppEigen/include" -O2 -Wall -mtune=generic -c tess3.cpp -o tess3.o C:/Rtools/mingw_64/bin/g++ -shared -s -static-libgcc -o lfmm.dll tmp.def RcppExports.o helpers.o tess3.o -LC:/PROGRA~1/R/R-3.6.1/bin/x64 -lR installing to C:/Program Files/R/R-3.6.1/library/00LOCK-lfmm/00new/lfmm/libs/x64 R data * moving datasets to lazyload DB inst ** byte-compile and prepare package for lazy loading Fatal error: cannot open file 'C:\Users\Nicholas': No such file or directory
ERROR: lazy loading failed for package 'lfmm'