Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error loading R package - libicui18n.so.68: cannot open shared object file

Tags:

r

archlinux

Until yesterday, I could run library(car) just fine. But after running yay -Syyu and upgrading as many packages as I can, this no longer works.

> library(car)
Loading required package: carData
Error: package or namespace load failed for ‘car’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/home/my-name/R/x86_64-pc-linux-gnu-library/4.0/stringi/libs/stringi.so':
  libicui18n.so.68: cannot open shared object file: No such file or directory

I am running this on Arch Linux.

like image 795
Username Avatar asked Nov 06 '25 17:11

Username


1 Answers

We can install the 'stringi' package

install.packages('stringi')
like image 159
akrun Avatar answered Nov 09 '25 11:11

akrun