l******r 发帖数: 18699 | 1 我的项目里要用到一个R package,可是不凑巧这个package已经从CRAN 里remove掉了
。可是我找到了它的老版本的,于是下载到R的library这个文件夹。可是当我require
()这个package时,报错说是这个package is not a valid installed package。
网上搜索到一个办法就是rebuild这个R package。可是我不会rebuild。请哪位大牛指
点一下。不胜感激! |
e**********m 发帖数: 1960 | 2 windows系统?不妨删了重装R
require
【在 l******r 的大作中提到】 : 我的项目里要用到一个R package,可是不凑巧这个package已经从CRAN 里remove掉了 : 。可是我找到了它的老版本的,于是下载到R的library这个文件夹。可是当我require : ()这个package时,报错说是这个package is not a valid installed package。 : 网上搜索到一个办法就是rebuild这个R package。可是我不会rebuild。请哪位大牛指 : 点一下。不胜感激!
|
l******r 发帖数: 18699 | 3 是windows,不过这个重装R 好使吗?
【在 e**********m 的大作中提到】 : windows系统?不妨删了重装R : : require
|
k*******a 发帖数: 772 | 4 if your downloaded file is a zip file (supposed to be)
try following:
open you R -> menu -> packages -> Install packages from local zip file
select your downloaded zip to install |
l******r 发帖数: 18699 | 5 the downloaded file is .tar.gz,and I changed it to .zip, but not working as
well. BTW, the older version of R package is "assist" which can be
downloaded from
http://cran.r-project.org/src/contrib/Archive/assist/
Somebody said the reason that this package was removed might make this issue
rather difficult. Who knows why it was removed...
【在 k*******a 的大作中提到】 : if your downloaded file is a zip file (supposed to be) : try following: : open you R -> menu -> packages -> Install packages from local zip file : select your downloaded zip to install
|
k*******a 发帖数: 772 | 6 try this then
install.packages(file_name_and_path, repos = NULL, type="source")
as
issue
【在 l******r 的大作中提到】 : the downloaded file is .tar.gz,and I changed it to .zip, but not working as : well. BTW, the older version of R package is "assist" which can be : downloaded from : http://cran.r-project.org/src/contrib/Archive/assist/ : Somebody said the reason that this package was removed might make this issue : rather difficult. Who knows why it was removed...
|