Error: package or namespace load failed for ‘magicaxis’ in dyn.load(file, DLLpath = DLLpath, ...)

Hi all, I just installed RStudio (rstudio-1.3.1093-amd64.deb) and I am trying to use it on Ubuntu 20.04 (I was previously succesful with Ubuntu 18).

This is the link to the R code I want to run.

However, when I try to run my code, I get the following error:

rror: package or namespace load failed for ‘magicaxis’ in dyn.load(file, DLLpath = DLLpath, ...):
 unable to load shared object '/usr/local/lib/R/site-library/sm/libs/sm.so':
  libgfortran.so.4: cannot open shared object file: No such file or directory

I have this package installed. What is wrong here?

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.