installation error
englianhu opened this issue · 5 comments
✓ [master]> library(splashr)
ℹ splashr not installed. Trying to install now
ℹ Installing splashr
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'splashr' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
/usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block
by refer to Rdatatable/data.table#5030 (comment), downloaded GitHub project and Install & Restart
but doesn't help.
by refer to ReadME.md
via richfitz/stevedore#59, package installed but doesn't help.
#5 (comment) doesn't help
✓ [master]> library(splashr)
ℹ splashr not installed. Trying to install now
ℹ Installing splashr
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'splashr' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
/usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block
Install latest ImageMagick
version on Ubuntu 20.04 LTS
via https://gist.github.com/zulhfreelancer/e104e4b330c8dbc6622d92b8cd525bf6#gistcomment-3769876
x [master]> library(splashr)
ℹ splashr not installed. Trying to install now
ℹ Installing splashr
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'splashr' in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
/usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block
x [master]> library(magick)
ℹ magick not installed. Trying to install now
ℹ Installing magick
Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
Error: package or namespace load failed for 'magick' in get(method, envir = envir):
lazy-load database '/usr/lib/R/library/magick/R/magick.rdb' is corrupt
In addition: Warning message:
In get(method, envir = envir) : internal error -3 in R_decompress1
-unable to load shared object '/usr/lib/R/library/magick/libs/magick.so':
- /usr/lib/x86_64-linux-gnu/libjemalloc.so.2: cannot allocate memory in static TLS block
above error refer to jemalloc/jemalloc#1237, and refer to https://gist.github.com/diginfo/be7347e6e6c4f05375c51bca90f220e8#gistcomment-3770725 and installed but doesn't help.
sudo apt install python3-openimageio
via https://bugs.launchpad.net/ubuntu/+source/openimageio/+bug/1887223 doesn't help, finally installed via install.packages("splashr", repos = c("https://cinc.rud.is/"))
.
x [master*]> install.packages("splashr", repos = c("https://cinc.rud.is/"))
Installing package into '/usr/lib/R/library'
(as 'lib' is unspecified)
trying URL 'https://cinc.rud.is/src/contrib/splashr_0.7.0.tar.gz'
Content type 'application/octet-stream' length 1097544 bytes (1.0 MB)
==================================================
downloaded 1.0 MB
* installing *source* package ‘splashr’ ...
** package ‘splashr’ successfully unpacked and MD5 sums checked
** using staged installation
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (splashr)
:~$ sudo su - -c "R -e \"devtools::install_github('johndharrison/HARtools')\""
:~$ sudo su - -c "R -e \"devtools::install_github('hrbrmstr/splashr')\""
https://github.com/johndharrison/HARtools
🇨🇳: 参照 aoles/EBImage#56 (comment) 即可安装成功。
🇬🇧: Installed by refer to aoles/EBImage#56 (comment)
:~$ sudo su - -c "R -e \"devtools::install_github('johndharrison/HARtools')\"" :~$ sudo su - -c "R -e \"devtools::install_github('hrbrmstr/splashr')\""https://github.com/johndharrison/HARtools
cn: 参照 aoles/EBImage#56 (comment) 即可安装成功。gb: Installed by refer to aoles/EBImage#56 (comment)