无法在IR内核上安装r软件包(Jupyter笔记本)

时间:2017-12-02 15:22:40

标签: r jupyter-notebook jupyter-irkernel

我的公司有一个Jupyter笔记本云,可以让我运行R;但是,我不能安装诸如'tm'或'rpart'on之类的软件包。任何人都可以帮我解决吗?非常感谢你!

代码和警告消息如下所示:

install.packages("tm", lib = '/home/jiafei', repos= 'http://cran.us.r-project.org')

Warning message in install.packages("tm", lib = "/home/jiafei", repos = "http://cran.us.r-project.org"):
“installation of package ‘xml2’ had non-zero exit status”Warning message in install.packages("tm", lib = "/home/jiafei", repos = "http://cran.us.r-project.org"):
“installation of package ‘tm’ had non-zero exit status”

0 个答案:

没有答案