【发布时间】:2020-01-20 16:57:40
【问题描述】:
我正在尝试为 R 安装 AzureML 包(版本 3.3.3),以便能够在 Microsoft PowerBI 中运行一些 R 脚本。
当我在控制台中运行 install.packages("AzureML") 时,出现以下错误:
> install.packages("AzureML")
Installing package into ‘C:/Users/MyName/Documents/R/win-library/3.3’
(as ‘lib’ is unspecified)
--- Please select a CRAN mirror for use in this session ---
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/CRAN/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/CRAN/src/contrib/PACKAGES'
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/src/contrib:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES'
Error in readRDS(file) :
cannot read workspace version 3 written by R 3.6.2; need R 3.5.0 or newer
In addition: Warning message:
package ‘AzureML’ is not available (for R version 3.3.3)
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/CRAN/bin/windows/contrib/3.3:
cannot open URL 'https://mirrors.ustc.edu.cn/CRAN/bin/windows/contrib/3.3/PACKAGES'
Warning: unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.3:
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.3/PACKAGES'
我在某处读到 PowerBI 不支持 R 版本 >3.3.3,这就是我将自己限制在这个版本的原因。
此外,我对其他版本也尝试过同样的操作,但我总是收到以下信息:
package ‘AzureML’ is not available (for R version 3.x.y)
我做错了什么?
【问题讨论】: