如何安装较旧的R软件包? [英] How do I install an older R package?

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

问题描述

我正在尝试使用以下命令安装R软件包 bigrf :

I am trying to install the R package bigrf using the following command:

install.packages('bigrf')

但是,我收到此错误:

install.packages中的警告:软件包"bigrf"不可用(对于R版本3.0.2).

Warning in install.packages: package 'bigrf' is not available (for R version 3.0.2).

我知道该软件包不是为R版本3.0.2构建的,但是我可能无法安装该软件包,尽管它可能不具有完全的前向兼容性?

I understand that the package was not built for R version 3.0.2, but is it not possible for me to install it regardless with the understanding that it might not have complete forward compatibility?

推荐答案

最安全的做法是下载为该程序包构建的最新版本(

The safest thing to do would be to download the last version that the package was built for (link) and run the code on that version.

从源代码重建软件包的最简单方法是使用 R-Studio .

The easiest way to rebuild a package from source is using R-Studio.

他们有一个很好的演练.您还需要使用 devtools 软件包.

They have a good walkthrough. You will need to use the devtools package as well.

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

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