RHadoop - Rstudio - 安装arulesViz库

RHadoop - Rstudio - Install arulesViz library

我正在尝试在 Cloudera Machine 中使用 RStudion 安装 arulesViz 库。为此,我正在执行:

install.packages("arulesViz", type = "source")

但我收到以下错误:

ERROR: configuration failed for package ‘curl’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/curl’
Warning in install.packages :
  installation of package ‘curl’ had non-zero exit status
ERROR: dependency ‘curl’ is not available for package ‘httr’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/httr’
Warning in install.packages :
  installation of package ‘httr’ had non-zero exit status
ERROR: dependency ‘httr’ is not available for package ‘plotly’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/plotly’
Warning in install.packages :
  installation of package ‘plotly’ had non-zero exit status
ERROR: dependency ‘plotly’ is not available for package ‘arulesViz’
* removing ‘/home/cloudera/R/x86_64-redhat-linux-gnu-library/3.3/arulesViz’
Warning in install.packages :
  installation of package ‘arulesViz’ had non-zero exit status

我该如何解决这个问题?

谢谢!

包 curl 具有以下要求(参见 https://cran.r-project.org/web/packages/curl/index.html):

系统要求: libcurl:libcurl-devel (rpm) 或 libcurl4-openssl-dev (deb)。

安装库,它可能会工作。