Error Loading Rgdal

Error loading rgdal

You can set LD_LIBRARY_PATH to include /home/nikhail1/bin/gdal/lib, i.e. in bash

export LD_LIBRARY_PATH="/home/nikhail1/bin/gdal/lib:$LD_LIBRARY_PATH"
ldd /home/nikhail1/R/x86_64-pc-linux-gnu-library/3.4/rgdal/libs/rgdal.so

should report libgdal.so.20 as been found. How to make this persistent depends on your desktop environment.

R package Error: package or namespace load failed for ‘reshape2’ in loadNamespace: there is no package called ‘magrittr’

Fixed by the below command:

install.packages("https://cran.r-project.org/src/contrib/Archive/magrittr/magrittr_1.5.tar.gz", repos = NULL, type="source")

package or namespace load failed error in loading R package litteR

You need to install the commando line tools. Open the Terminal.app and run the following line xcode-select --install



Related Topics



Leave a reply



Submit