Hello everyone, I have a question about an error message I have received.
I have tried to install the package "SNPRelate" with Biocmanager using this command:
BiocManager::install("SNPRelate")
And the error message in return was:
/usr/bin/ld: final link failed: memory exhausted
collect2: error: ld returned 1 exit status
make: *** [/usr/share/R/share/make/shlib.mk:10: gdsfmt.so] Error 1
ERROR: compilation failed for package ‘gdsfmt’
- removing ‘/home/toaster2000/R/x86_64-pc-linux-gnu-library/4.0/gdsfmt’
ERROR: dependency ‘gdsfmt’ is not available for package ‘SNPRelate’
- removing ‘/home/toaster2000/R/x86_64-pc-linux-gnu-library/4.0/SNPRelate’
The downloaded source packages are in
‘/tmp/Rtmp5JnbuE/downloaded_packages’
Installation paths not writeable, unable to update packages
path: /usr/lib/R/library
packages:
boot, class, cluster, foreign, lattice, MASS, Matrix, mgcv, nlme, nnet, rpart, spatial, survival
Warning messages:
1: In .inet_warning(msg) :
installation of package ‘gdsfmt’ had non-zero exit status
2: In .inet_warning(msg) :
installation of package ‘SNPRelate’ had non-zero exit status
My questions are:
What does it mean "Installation paths not writeable"? Should I use a sudo command as in BASH?
What is the "final link failed: memory exhausted"? Does it mean that my local computer is not powerful enough to install this package?
Thanks for your help!