我的公司有一个 Jupyter Notebook 云,可以让我在上面运行 R;但是,我无法在其上安装诸如“tm”或“rpart”之类的软件包。谁能帮我解决它?非常感谢!
代码和警告信息如下所示:
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”