我正在尝试使用以下命令在 IBM 的数据科学体验 (DSX) 中的 R Jupyter 笔记本中安装“GISTools”R 包:
install.packages("GISTools", depend = T)
但是,我收到以下错误消息:将包安装到
‘/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”
当我尝试library(GISTools)
命令时,我收到以下错误消息:
Error in library(GISTools): there is no package called ‘GISTools’
Traceback:
1. library(GISTools)
2. stop(txt, domain = NA)
我特别查看了以下链接(以及 Stack Overflow 上的其他几个线程),但未能解决我的问题:
conda - 如何安装“R-essentials”中不可用的 R 包?
请问有人可以帮忙吗?
谢谢,V