在 Ubuntu Lucid 上安装 R 文本挖掘包
R 新手,正在尝试安装文本挖掘包 (tm)。然而当我这样做时
<块引用>安装.packages(“tm”,依赖项= TRUE)
我收到以下错误:
Warning in install.packages("tm", dependencies = TRUE) :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘tm’ is not available
有什么想法吗?
提前致谢。
New to R, and am trying to install the text mining package (tm). However when I do
install.packages("tm",dependencies=TRUE)
I get the following error:
Warning in install.packages("tm", dependencies = TRUE) :
argument 'lib' is missing: using '/usr/local/lib/R/site-library'
--- Please select a CRAN mirror for use in this session ---
Loading Tcl/Tk interface ... done
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
package ‘tm’ is not available
Any thoughts?
Thanks in advance.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Ubuntu 论坛中有一个关于此问题的主题。
最可能的答案是 tm 需要比您已安装的版本更新的 R 版本(>= 2.11.0)。尝试按照此处所述添加 R 存储库并升级,然后尝试安装又TM了。
There's a thread on this in the Ubuntu forums.
Most likely answer is that tm requires a more recent version of R (>= 2.11.0) than the one that you have installed. Try adding an R repository as described here and upgrading, then try to install tm again.