在Azure ML中安装额外的R包(ImputeTS R包)ML
问题描述:
我介绍了有关在Azure ML中安装附加R包的以下堆栈溢出查询。但是我'收到错误在Azure ML中安装额外的R包(ImputeTS R包)ML
径1:安装Windows ImputeTS封装(https://cran.r-project.org/web/packages/miniCRAN/index.html)
I双重压缩,并试图按所述:安装miniCRAN包窗口(https://cran.r-project.org/web/packages/imputeTS/index.html)
2步道下面的堆栈溢出查询问题。但是,仍然面临着同样的问题,我使用
[R版本:CRAN 3.1.0
我需要使用package ImputeTS.
堆栈溢出的查询链接: Installing additional R Package on Azure ML
错误1 :
Error 0063: The following error occurred during evaluation of R script:
---------- Start of error message from R ----------
zip file 'src/miniCRAN.zip' not found
错误2:
Error 0063: The following error occurred during evaluation of R script:
---------- Start of error message from R ----------
zip file 'src/imputeTS.zip' not found
[R脚本:
JCI_CO2 <- maml.mapInputPort(1)
library(dplyr)
library(tidyr)
library(lubridate)
#install.packages("src/imputeTS.zip", lib = ".", repos = NULL, verbose = TRUE)
#(success <- library("imputeTS", lib.loc = ".", logical.return = TRUE, verbose = TRUE))
#library(imputeTS)
#library(imputeTS,lib.loc = ".")
install.packages("src/miniCRAN.zip", lib = ".", repos = NULL, verbose = TRUE)
(success <- library("miniCRAN", lib.loc = ".", logical.return = TRUE, verbose = TRUE))
library(miniCRAN)
library(miniCRAN,lib.loc = ".")
library(imputeTS)
dt2 <- JCI_CO2 %>%
mutate(Date.Time = mdy_hm(Date.Time)) %>%
filter(Date.Time %in% seq(min(Date.Time), max(Date.Time), by = "15 min")) %>%
complete(Date.Time = seq(min(Date.Time), max(Date.Time), by = "15 min")) %>%
mutate(RA.CO2 = na.interpolation(RA.CO2)) %>%
arrange(desc(Date.Time))
JCI_CO2 <- data.frame(dt2)
maml.mapOutputPort("JCI_CO2");
注:所有的代码包的其余部分即dplyr,tidyr,lubridate已经部分的azure ml R包装。 除了我试图安装的ImputeTS。
答
当遇到Execute R或Python Script模块(实际上是所有模块,但对这些模块更有帮助)的问题时,选择模块将在右侧的属性窗格中显示View Output Log链接。这将显示模块的stdout + stderr,它比窗口中最终解析的错误消息更详细。
具体的诊断“的路径不存在”问题就是这样,附加一个ZIP文件Exec的R/PY的邮编输入端口实际上将倾倒的什么解压缩到其中的R范围内的全面上市/ Python解释器。请使用它来确定为什么您提供的路径没有像您期望的那样得到解决。