I am trying to install the "GISTools" R package in my R Jupyter notebook in IBM's Data Science Experience (DSX) with the following command:
install.packages("GISTools", depend = T)
however, I get the following error message: Installing package into
‘/gpfs/global_fs01/sym_shared/YPProdSpark/user/s17c-9f3318fc11f06c-d37a4b9405b6/R/libs’
(as ‘lib’ is unspecified)
also installing the dependency ‘rgeos’
Warning message in install.packages("GISTools", depend = T):
“installation of package ‘rgeos’ had non-zero exit status”Warning message in install.packages("GISTools", depend = T):
“installation of package ‘GISTools’ had non-zero exit status”
When I try library(GISTools)
command, I get the following error message:
Error in library(GISTools): there is no package called ‘GISTools’
Traceback:
1. library(GISTools)
2. stop(txt, domain = NA)
I have looked at the following links in particular (and several other threads on Stack Overflow) but have not been able to resolve my issue:
Cannot install R packages in Jupyter Notebook
conda - How to install R packages that are not available in "R-essentials"?
Please can someone help?
Thanks, V