Ubuntu 无法在Rstudio服务器中进行Plotly安装

Ubuntu 无法在Rstudio服务器中进行Plotly安装,ubuntu,rstudio,rstudio-server,Ubuntu,Rstudio,Rstudio Server,我无法在ubuntu服务器上托管的R studio中进行绘图。我收到以下错误消息 错误:包“curl”的配置失败 *删除“/home/sshuser/R/x86_64-pc-linux-gnu-library/3.4/curl” install.packages中的警告: 包“curl”的安装具有非零退出状态 错误:依赖项“curl”不可用于包“httr” *删除“/home/sshuser/R/x86_64-pc-linux-gnu-library/3.4/httr” install.pack

我无法在ubuntu服务器上托管的R studio中进行绘图。我收到以下错误消息

错误:包“curl”的配置失败 *删除“/home/sshuser/R/x86_64-pc-linux-gnu-library/3.4/curl” install.packages中的警告: 包“curl”的安装具有非零退出状态 错误:依赖项“curl”不可用于包“httr” *删除“/home/sshuser/R/x86_64-pc-linux-gnu-library/3.4/httr” install.packages中的警告: 程序包“httr”的安装具有非零退出状态 错误:依赖项“httr”不可用于包“plotly” *删除“/home/sshuser/R/x86_64-pc-linux-gnu-library/3.4/plotly” install.packages中的警告: 程序包“plotly”的安装具有非零退出状态

下载的源程序包位于中
“/tmp/RtmpqMvWWf/downloaded_packages”

您只需安装libcurl4 gnutls dev,问题就会解决

apt-get -y build-dep libcurl4-gnutls-dev

你是如何发现这会解决问题的?