我正在尝试在 IBM Watson Studio 上的 R 环境笔记本中安装 CRAN Hmisc包。但它反复失败并出现以下错误:
install.packages('Hmisc')
also installing the dependencies ‘checkmate’, ‘rstudioapi’, ‘Formula’, ‘latticeExtra’, ‘acepack’, ‘gridExtra’, ‘htmlTable’, ‘viridis’
Warning message in install.packages("Hmisc"):
“installation of package ‘viridis’ had non-zero exit status”Warning message in install.packages("Hmisc"):
“installation of package ‘Hmisc’ had non-zero exit status”Updating HTML index of packages in '.Library'
Making 'packages.html' ... done
我尝试单独安装该viridis
软件包,但也失败并出现相同的错误:
install.packages('viridis')
Warning message in install.packages("viridis"):
“installation of package ‘viridis’ had non-zero exit status”Updating HTML index of packages in '.Library'
Making 'packages.html' ... done