无法在RStudio Server上安装软件包

时间:2017-03-25 15:25:51

标签: r rstudio data-science rstudio-server

我正在使用RStudio Server并尝试安装基本软件包并获得以下错误 -

g ++ -I / usr / lib64 / microsoft-r / 3.3 / lib64 / R / include -DNDEBUG -

我../ inst / include / -DU_STATIC_IMPLEMENTATION -fpic -

DU_STATIC_IMPLEMENTATIN -O2 -g -c Date.cpp -o Date.o

sh:g ++:找不到命令

make:*** [Date.o]错误127

错误:包'Rcpp'

的编译失败

有没有人面临同样的问题?请告知解决此问题需要采取的措施。

1 个答案:

答案 0 :(得分:1)

  

sh:g ++:找不到命令

首先应install development tools suite,然后再返回以再次安装packag。 在Ubuntu上,您可以尝试:

sudo apt-get install build-essential

在CentOS上,您可以尝试:

yum groupinstall "Development Tools"
相关问题