Cannot install ‘rstudio/keras’
我正在尝试从 RStudio Github 存储库安装 Keras for R。当我执行命令 devtools::install_github(“rstudio/keras”) 时,我得到以下输出:
Downloading GitHub repo rstudio/keras@master from URL
https://api.github.com/repos/rstudio/keras/zipball/master Installation
failed: cannot open file
‘C:/Users/—-/AppData/Local/Temp/RtmpQ7pNms/devtools23383d0e4e74/rstudio-keras
4df554e/R/activations.R’: No such file or directory
确实,该文件中不存在目录R/。一个可能的问题是这是一台工作计算机,但我确实拥有这台计算机的管理员权限。
下面是 sessionInfo() 的输出。提前谢谢你!
1
2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 |
R version 3.3.2 (2016-10-31)
Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 7 x64 (build 7601) Service Pack 1 locale: attached base packages: other attached packages: loaded via a namespace (and not attached): |
- 有时我解决了以管理员权限启动 R 的 R 安装问题。
试试这个:
1
|
install.packages(“keras”, type =”source”, repos = c(“https://cartographer-alba-50131.netlify.com/7536398b6aeebf87b8d128830d509b88a21a822c/repos”,”https://cran.rstudio.com”))
|
来源:https://www.codenong.com/44360670/