Last week I upgraded from Ubuntu 14.04 to 14.10. The first time I\'ve tried to use ggplot in RStudio since the update, I\'m getting dependancy errors with my ggplot package
Got the same error while installing install.packages("knitr")
Error in dyn.load(file, DLLpath = DLLpath, ...) : unable to load shared object '/usr/local/lib/R/site-library/stringi/libs/stringi.so'
I solved it by doing the below:
In Ubuntu 16.04 and above
sudo apt install r-cran-stringi
In earlier versions (which had apt-get)
sudo apt-get install r-cran-stringi