R 在 Windows 上安装 Vennerable 包
我无法从 https://r-forge.r 安装 Vennerable R 软件包-project.org/projects/vennerable/ 在我的带有最新 R (2.13.0) 的 Windows 7 上。
我尝试了以下操作:
从 RGui 安装并选择 R-Forge 存储库:
的列表中没有 Vennerable 包使用“从本地 zip 文件安装包”从 RGui 安装:
无法打开压缩文件“Vennerable.tar.gz/DESCRIPTION”
将 tar.gz 转换为 zip 并使用“从本地 zip 文件安装包”从 RGui 安装:
无法打开压缩文件“Vennerable.tar.gz/DESCRIPTION”
尝试手动安装:
install.packages("D:/Downloads/Vennerable. tar.gz", repos = NULL)
无法打开压缩文件“Vennerable.tar.gz/DESCRIPTION” install.packages 中出错:无法打开连接
注意:有一个文件描述。
我应该怎么做才能安装这个软件包?
软件包页面上的链接已失效(指向Windows 版本 和 软件包源)。
I am not able to install the Vennerable R package from https://r-forge.r-project.org/projects/vennerable/ on my Windows 7 with newest R (2.13.0).
I tried following:
installed from RGui and selecting R-Forge repos:
there was no Vennerable package in the listinstalled from RGui using "install package from local zip file":
can not open compressed file 'Vennerable.tar.gz/DESCRIPTION'
converted tar.gz into zip and installed from RGui using "install package from local zip file":
can not open compressed file 'Vennerable.tar.gz/DESCRIPTION'
tried manual install:
install.packages("D:/Downloads/Vennerable.tar.gz", repos = NULL)
can not open compressed file 'Vennerable.tar.gz/DESCRIPTION' Error in install.packages : cannot open the connection
Note: there is a file DESCRIPTION.
What should I do to install this package?
Links on package page are dead (to either Windows build and package source).
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
您可以查看源代码:打开终端并运行以下命令
,然后进行不带小插图的构建。
最后安装它:(
您的构建名称可能与 Vennerable_3.0.tar.gz 不同)。
对我来说,它生成了以下错误:
然后我必须转到 R,运行以下命令:
然后返回终端并再次运行
R CMD INSTALL ...
命令。You can checkout the source: open the terminal and run the following command
Then build without vignettes.
and finally to install it:
(Your build might be in a different name than Vennerable_3.0.tar.gz).
For me it generated the following error:
Then I had to go to R, run the following command:
and then go back to the terminal and run the
R CMD INSTALL ...
command again.Vennerable 软件包已更新,现在版本 2.1 可从 R-forge 使用
Vennerable package has been updated and now version 2.1 is available from R-forge using
我有同样的问题并解决了。问题在于如何归档包。顶级目录中有一个名为“Vennerable”的目录,名为“Vennerable_2.2”。我解压缩了存档。然后我导航到“Vennerable”子目录,并将其压缩。然后我使用新的“运行安装” Vennerable.zip 的存档非常有效。
I had the same problem and figured it out. The issue was with how the package is archived. There is a directory called 'Vennerable' within the top level directory which is called "Vennerable_2.2'. I unzipped the archive. Then I navigated to the 'Vennerable' subdirectory, and zipped that. Then I ran the installation using the new 'Vennerable.zip' archive. Worked like a charm.
如果您有 tar.gz 存档,则可能有该包的源文件。在安装软件包之前,您必须先构建它。请参阅编写 R 扩展的第 1.3 节手册
另请参阅您的其他相关问题,我在其中提供了 R 2.13.0 x86_64 的构建包的链接:
http://commondatastorage.googleapis.com/jthetzel-public/Vennerable_1.1.1.1.zip
If you have a tar.gz archive, you likely have the package's source files. You must build it first before installing the package. See section 1.3 of the Writing R Extensions manual
See also your other related question, where I provided this link to the built package for R 2.13.0 x86_64:
http://commondatastorage.googleapis.com/jthetzel-public/Vennerable_1.1.1.1.zip