我一直有很多麻烦,试图安装的主题模型包。我什么都试过了。在执行以下操作时:
install.packages("/path/to/the/package/topicmodels.tar.gz",type="source")但最终得到了以下信息:
Installing package into ‘/Users/Library/R/3.1/library’
(as ‘lib’ is unspecified)
inferring 'repos = NULL' from the file name
Warning in untar2(tarfile, files, list, exdir, restore_times) :
using pax extended headers
ERROR: cannot extract package from ‘/Users/Desktop/Rfolder/topicmodels.tar.gz’
Warning in install.packages :
installation of package ‘/Users/Desktop/Rfolder/topicmodels.tar.gz’ had non-zero exit status有人知道吗?当我尝试使用install.packages("topicmodels")安装这个包时,我得到:
package topicmodels is available as a source package but not as a binary
Warning in install.packages :
package topicmodels is not available (for R version 3.1.0)`这就是我试图从源代码安装这个软件包的原因。我正试图在OSX的小牛身上安装这个。请帮帮我!
发布于 2014-06-16 14:18:08
当我试图在MacOS小牛:https://stackoverflow.com/a/24245311/3745085上安装“topicmodel”软件包时,这对我起了作用。
https://stackoverflow.com/questions/24236821
复制相似问题