I can't install proj4 using install.packages(), but installing package archive file in RStudio works. I use the same way above to install ggalt, but when I load it the system throws an error as below:
Loading required package: ggplot2
Registered S3 methods overwritten by 'ggplot2':
method from
[.quosures rlang
c.quosures rlang
print.quosures rlang
Error: package or namespace load failed for ‘ggalt’ in dyn.load(file, DLLpath = DLLpath, ...):
unable to load shared object '/usr/local/lib/R/3.6/site-library/ash/libs/ash.so':
dlopen(/usr/local/lib/R/3.6/site-library/ash/libs/ash.so, 6): Library not loaded: /usr/local/opt/gcc/lib/gcc/8/libgfortran.5.dylib
Referenced from: /usr/local/lib/R/3.6/site-library/ash/libs/ash.so
Reason: image not found
R version: 3.6.0_2
macOS Mojave version: 10.14.5
I don't know how to solve the error, please help me.
I can't install
proj4
usinginstall.packages()
, but installing package archive file in RStudio works. I use the same way above to installggalt
, but when I load it the system throws an error as below:I don't know how to solve the error, please help me.