library(tesseract) # for OCR
Results in error:
Error: package or namespace load failed for ‘tesseract’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/dhlib/tesseract/libs/tesseract.so':
libtesseract.so.4: cannot open shared object file: No such file or directory
In addition: Warning message:
package ‘tesseract’ was built under R version 4.0.5
Any ideas on how to solve this?
Related
I got a problem opening library(Seurat) in R server using supercomputer. The problem is :
Error: package or namespace load failed for ‘Seurat’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/home/user/R/4.0.4/igraph/libs/igraph.so':
libglpk.so.40: cannot open shared object file: No such file or directory
but I was allowed to install.package without problem
Thanks in advance!
I have a binder set up that makes use of highcharter. The package is installed, the system can find it and it is up to date. But when trying to attach it with library I get this:
> library(highcharter)
Error: package or namespace load failed for ‘highcharter’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/srv/rlibs/igraph/libs/igraph.so':
libglpk.so.40: cannot open shared object file: No such file or directory
I noted the mention of igraph, so I tried attaching that, but get the same error:
> library(igraph)
Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/srv/rlibs/igraph/libs/igraph.so':
libglpk.so.40: cannot open shared object file: No such file or directory
I've tried installing the latest dev version from github. The result of this was an error:
** testing if installed package can be loaded from temporary location
Error: package or namespace load failed for ‘igraph’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/tmp/RtmpK0dUBK/Rinst15a72b8aab6/00LOCK-igraph/00new/igraph/libs/igraph.so':
libopenblas.so.0: cannot open shared object file: No such file or directory
Error: loading failed
The binder system info is:
> Sys.info()
sysname
"Linux"
release
"5.4.129+"
version
"#1 SMP Wed Aug 18 19:58:18 PDT 2021"
nodename
"jupyter-nhsbsa-2ddata-2dana-2dffee-2dand-2dcoding-2d5y1715cc"
machine
"x86_64"
After several hours of Googling I've reached the limit of what I can do to troubleshoot this, any help appreciated!
Resolved by adding libglpk-dev to the apt.txt file. It is strange tho, as this did not used to be needed and it worked.
My R version is 4.1.2. It seems that I successfully install gsl package, but when I run library(gsl), I get following error:
Error: package or namespace load failed for ‘energy’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/public/home/username/localR/lib64/R/library/gsl/libs/gsl.so':
libgsl.so.25: cannot open shared object file: No such file or directory
Only this package has the error above. Meanwhile, when I try to use the packages related to it(e.x. energy), R will occur the same error. However, other packages are not affected.
Thanks.
Im deploying a shiny app using a docker/rockerverse image.
Install.packages(networkD3) is giving the below error.
I have tried installing with dependencies = TRUE.
Has anyone any suggestions?
Error: package or namespace load failed for ‘networkD3’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/local/lib/R/site-library/igraph/libs/igraph.so':
libglpk.so.40: cannot open shared object file: No such file or directory
Execution halted
I get this error when starting the export package in R. It seems to download successfully, but when library(export) is run, I get this message:
Error: package or namespace load failed for ‘export’ in dyn.load(file,
DLLpath = DLLpath, ...): unable to load shared object
/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so':
dlopen(/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so,
6): Library not loaded: /opt/X11/lib/libcairo.2.dylib Referenced
from:
/Library/Frameworks/R.framework/Versions/3.5/Resources/library/gdtools/libs/gdtools.so
Reason: image not found
Thanks for your help!