Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue Installing lfmm #5

Open
nicholasprice79 opened this issue Aug 26, 2019 · 2 comments
Open

Issue Installing lfmm #5

nicholasprice79 opened this issue Aug 26, 2019 · 2 comments

Comments

@nicholasprice79
Copy link

Hi,

I am trying to install 'lfmm' on R 3.6.1 (windows 64bit) and
I am having the following problem

devtools::install_github("bcm-uga/lfmm")
Downloading GitHub repo bcm-uga/lfmm@master
Your system is ready to build packages!
Installing 1 packages: RcppEigen
trying URL 'https://cran.revolutionanalytics.com/bin/windows/contrib/3.6/RcppEigen_0.3.3.5.0.zip'
Content type 'application/zip' length 2675544 bytes (2.6 MB)
downloaded 2.6 MB

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:/PROGRA1/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:/PROGRA1/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'

  • removing 'C:/Program Files/R/R-3.6.1/library/lfmm'
    Error: Failed to install 'lfmm' from GitHub:
    (converted from warning) installation of package ‘C:/Users/Nicholas Price/AppData/Local/Temp/RtmpsRg0R3/file8842006d5c/lfmm_0.0.tar.gz’ had non-zero exit status
@xiahui625649
Copy link

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

@StuntsPT
Copy link

@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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants