R在Windows上安装Vennerable软件包 [英] R install Vennerable package on windows

查看:218
本文介绍了R在Windows上安装Vennerable软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我无法从 https://r-在Windows 7上使用最新R(2.13.0)的forge.r-project.org/projects/vennerable/.

我尝试了以下操作:

    从RGui安装的
  1. 并选择R-Forge存储库:
    列表中没有Vennerable软件包

  1. installed from RGui and selecting R-Forge repos:
    there was no Vennerable package in the list

使用从本地zip文件安装软件包"从RGui安装:

installed from RGui using "install package from local zip file":

can not open compressed file 'Vennerable.tar.gz/DESCRIPTION'

  • 将tar.gz转换为zip并使用从本地zip文件安装软件包"从RGui安装:

  • 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'
    

  • 尝试手动安装: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
    

  • 注意:这里有一个文件DESCRIPTION.

    Note: there is a file DESCRIPTION.

    我应该怎么做才能安装此软件包?

    What should I do to install this package?

    打包页面上的链接无效(到 Windows版本推荐答案

    您可以签出源代码:打开终端并运行以下命令

    You can checkout the source: open the terminal and run the following command

    svn checkout svn://svn.r-forge.r-project.org/svnroot/vennerable
    

    然后在没有渐晕的情况下进行构建.

    Then build without vignettes.

    cd  vennerable/pkg
    R CMD build Vennerable/ --no-build-vignettes
    

    最后安装它:

    R CMD INSTALL Vennerable_3.0.tar.gz  
    

    (您的内部版本可能与Vennerable_3.0.tar.gz的名称不同).

    (Your build might be in a different name than Vennerable_3.0.tar.gz).

    对我来说,它产生了以下错误:

    For me it generated the following error:

    ERROR: dependencies ‘graph’, ‘RBGL’, ‘xtable’ are not available for package ‘Vennerable’
    

    然后我必须去R,运行以下命令:

    Then I had to go to R, run the following command:

    install.packages(c("graph", "RBGL", "xtable"))
    

    ,然后返回到终端并再次运行R CMD INSTALL ...命令.

    and then go back to the terminal and run the R CMD INSTALL ... command again.

    这篇关于R在Windows上安装Vennerable软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

    查看全文
    登录 关闭
    扫码关注1秒登录
    发送“验证码”获取 | 15天全站免登陆