You are not logged in.
Pages: 1
Hello, I have installed R scripting language in my computer. The details are as follows-
R version 3.4.2 (2017-09-28) -- "Short Summer"
Platform: x86_64-pc-linux-gnu (64-bit)
Arch Linux: 4.13.12-1-ARCH #1 SMP PREEMPT
Whenever, I try to install a package in R using "install.packages("package_name")" from within the R, it gives me the following error-
Error in dyn.load(file, DLLpath = DLLpath, ...) :
unable to load shared object '/home/archlinux/R/x86_64-pc-linux-gnu-library/3.4/stringi/libs/stringi.so':
libicui18n.so.59: cannot open shared object file: No such file or directory
ERROR: lazy loading failed for package ‘lubridate’
* removing ‘/home/archlinux/R/x86_64-pc-linux-gnu-library/3.4/lubridate’
I removed the package, cleared my cache and then did a fresh install. But the problem is still persisting.
Although, I have the following outputs for the commands-
ldconfig -p | grep libicuuc
libicuuc.so.60 (libc6,x86-64) => /usr/lib/libicuuc.so.60
libicuuc.so (libc6,x86-64) => /usr/lib/libicuuc.so
ldconfig -p | grep libicui
libicui18n.so.60 (libc6,x86-64) => /usr/lib/libicui18n.so.60
libicui18n.so (libc6,x86-64) => /usr/lib/libicui18n.so
libicuio.so.60 (libc6,x86-64) => /usr/lib/libicuio.so.60
libicuio.so (libc6,x86-64) => /usr/lib/libicuio.so
Any suggestions as to how to get rid of this?
Thanks!
Last edited by ralph_hellgrind (2017-11-29 10:33:41)
Offline
update.packages()
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
If Triliby's suggestion doesn't do it, you might want to try just reinstalling stringi: install.packages("stringi"). I had an issue one time where it just needed a rebuild.
Offline
Ah, good point - it could need a rebuild even if there isn't a new version on CRAN.
However, I had a related issue a couple days ago due to the icu update, and a simple `update.packages()` was sufficient - of course I only run that when something breaks, so it might have been a while since I last rebuilt stringi.
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
Pages: 1