R 中的 MXNet 包安装
MXNet package installation in R
尝试在 R 中安装 MXNet 包时遇到很多麻烦
我正在使用 R 的 3.4.0 版本,我使用的是 windows 10 CPU intel i3,基于 x64 的 64 位处理器。
我收到提示:
install.packages("mxnet")
Warning in install.packages :
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES.rds': HTTP status was '404 Not Found'
Installing package into ‘C:/Users/los40/OneDrive/Documentos/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘mxnet’ is not available (for R version 3.4.0)
Warning in install.packages :
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'
我尝试下载此处提供的 .rar 文件。我解压缩了一个并得到了文件夹,其中显示 "R package" 尝试使用以下方式安装它:
> install.packages('R.package.rar', lib='D:/mxnet',repos = NULL)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'
> install.packages('R.package.rar', lib='D:/mxnet')
Warning in install.packages :
package ‘R.package.rar’ is not available (for R version 3.4.0)
在 http://mxnet.io/get_started/windows_setup.html 中找到的指南对我来说毫无意义,因为我找不到在 windows 上安装名为 [=26= 的预构建包的步骤中所需的文件]
请尝试以下行:
cran <- getOption("repos")
cran["dmlc"] <- "https://s3.amazonaws.com/mxnet-r/"
options(repos = cran)
install.packages("mxnet")
对于 mxnet
在 R 中使用此命令仅对 CPU
进行软件包安装
cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)
library(mxnet)
对于windows,如果要安装mxnet
。使用以下命令:
cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)
library(mxnet)
尝试在 R 中安装 MXNet 包时遇到很多麻烦 我正在使用 R 的 3.4.0 版本,我使用的是 windows 10 CPU intel i3,基于 x64 的 64 位处理器。
我收到提示:
install.packages("mxnet")
Warning in install.packages :
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/src/contrib/PACKAGES.rds': HTTP status was '404 Not Found'
Installing package into ‘C:/Users/los40/OneDrive/Documentos/R/win-library/3.4’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘mxnet’ is not available (for R version 3.4.0)
Warning in install.packages :
cannot open URL 'http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/3.4/PACKAGES.rds': HTTP status was '404 Not Found'
我尝试下载此处提供的 .rar 文件。我解压缩了一个并得到了文件夹,其中显示 "R package" 尝试使用以下方式安装它:
> install.packages('R.package.rar', lib='D:/mxnet',repos = NULL)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'
> install.packages('R.package.rar', lib='D:/mxnet')
Warning in install.packages :
package ‘R.package.rar’ is not available (for R version 3.4.0)
在 http://mxnet.io/get_started/windows_setup.html 中找到的指南对我来说毫无意义,因为我找不到在 windows 上安装名为 [=26= 的预构建包的步骤中所需的文件]
请尝试以下行:
cran <- getOption("repos")
cran["dmlc"] <- "https://s3.amazonaws.com/mxnet-r/"
options(repos = cran)
install.packages("mxnet")
对于 mxnet
在 R 中使用此命令仅对 CPU
cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)
library(mxnet)
对于windows,如果要安装mxnet
。使用以下命令:
cran <- getOption("repos")
cran["dmlc"] <- "https://s3-us-west-2.amazonaws.com/apache-mxnet/R/CRAN/"
options(repos = cran)
install.packages("mxnet",dependencies = T)
library(mxnet)