R中的install.packages()

时间:2013-09-02 13:03:07

标签: r install.packages

我正在尝试从其源文件安装R包。该软件包只能安装在R.2.9.2上。所以我卸载了我的新版R,安装了上面提到的版本并尝试安装这样的软件包:

 install.packages(pathToPackage, repos="NULL", type="source")

但是我收到了这个错误:

  argument 'lib' is missing: using 'C:\Users\hora\Documents/R/win-library/2.9'
Warning: unable to access index for repository NULL/src/contrib
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘c://Users//hora//Downloads//affymicro.zip’ is not available

解决方案是什么?提前谢谢。

0 个答案:

没有答案