楼主: 梦醒之后
37408 35

[学习分享] 从GitHub上安装R程序包的一点经验(for Windows) [推广有奖]

31
suzhzh 发表于 2016-7-7 18:26:03
常小靛 发表于 2016-7-6 21:51
Rtools 的安装位置对吗,好像要跟Rstudio,R安在同一个目录下
Just installed them into the same Folder, but still the error came out. Not sure what the problem is.

32
6673233 发表于 2016-8-19 16:33:40
常小靛 发表于 2016-7-6 21:51
Rtools 的安装位置对吗,好像要跟Rstudio,R安在同一个目录下
不需要的,我就是安装在不同路径下一样可以的

33
jgchen1966 发表于 2016-8-20 22:32:42

Rtools 的安装好,就如下安装了
if (!require("devtools")) install.packages("devtools")
devtools::install_github("ecpolley/SuperLearner")。。OKl!!
但有时可能纯粹联网的原因,安装出错。。
以便 多说一句:R CRAN 上 SuperLearner 的CV.SuperLearner 有个bug,
与作者交流后,作者马上在Github作了修改,但是,说:“But I guess it was never pushed over to the CRAN version"。。
因此 ,这就是Github实实在在的益处。。

34
lulu1234556 发表于 2017-8-14 15:03:25
镜中人_zx 发表于 2015-9-16 19:59
"D:/Program Files/R/R-3.2.2/bin/x64/R" --no-site-file --no-environ --no-save  \
  --no-restore CMD  ...
碰到了和你一样的问题,请帮忙解答:Downloading GitHub repo chrisamiller/fishplot@master
from URL https://api.github.com/repos/chrisamiller/fishplot/zipball/master
Installing fishplot
"D:/Program Files/R/R-3.3.2/bin/i386/R" --no-site-file --no-environ --no-save  \
  --no-restore --quiet CMD INSTALL  \
  "C:/Users/luzi/AppData/Local/Temp/RtmpqKWu8D/devtools38883ed061bf/chrisamiller-fishplot-8d25f71"  \
  --library="D:/Program Files/R/R-3.3.2/library" --install-tests

'D:\Program' is not recognized as an internal or external command,
operable program or batch file.


谢谢

35
czpno01 学生认证  发表于 2017-9-30 15:30:10
终于解决了我的问题

36
xiaotie12 发表于 2017-10-14 15:49:06
有用,感谢

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群
GMT+8, 2026-1-10 01:02