我的公司有一个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”