-
-
Notifications
You must be signed in to change notification settings - Fork 201
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
failed to install igraph #335
Comments
@xiwa2006 |
same issue as #275 |
I have a similar issue on my ubuntu 20.04 with R version 4.1.0 and I get the error below: Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):
one solution suggested creating "~/.R/Makevar" and setting: |
Try installing the |
This worked perfectly. Thank you very much. This is where I found the package (if anyone comes across the same problem): |
I had a similar problem, I think the common denominator is the localization of .so files. See my answer here: #275 (comment) |
I tried to install.packages("igraph") and got below errors.
installing to /home/xwang/R/x86_64-pc-linux-gnu-library/3.4/igraph/libs
** R
** demo
** inst
** preparing package for lazy loading
** help
*** installing help indices
** building package indices
** testing if installed package can be loaded
Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/xwang/R/x86_64-pc-linux-gnu-library/3.4/igraph/libs/igraph.so':
libgfortran.so.4: cannot open shared object file: No such file or directory
Error: loading failed
Execution halted
ERROR: loading failed
The downloaded source packages are in
‘/tmp/RtmpyOUq7X/downloaded_packages’
Warning message:
In install.packages("igraph") :
installation of package ‘igraph’ had non-zero exit status
My environment is as below.
R version 3.4.4 (2018-03-15)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.5 LTS
Matrix products: default
BLAS: /opt/sw/R/3.4.4/lib/R/lib/libRblas.so
LAPACK: /opt/sw/R/3.4.4/lib/R/lib/libRlapack.so
The text was updated successfully, but these errors were encountered: