如何在 AzureML studio 中使用 R 脚本导入第三方库 "causalImpact"?
How to import a third party library "causalImpact" using R script in AzureML studio?
我尝试在 AzureML studio 中使用 "devtools" 从 github 为我的一个项目导入 causalImpact 库。
使用的代码是:
library(devtools)
devtools::install_github("google/CausalImpact")
不幸的是,Azure 不支持 this.So 尝试按照此 blog 中的过程导入它。它在 casualImpact 的依赖包名称上给出了多个错误(即 BOOM、BH 等.).谁能帮我在 Azure 上导入这个包?
这是我在上面给出的 link 之后使用的 R 脚本:
library(assertthat)
library(dplyr)
library(hflights)
library(Lahman)
library(magrittr)
library(LGPL)
install.packages("src/BH_1.55.0-3.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("BH ", lib.loc=".", logical.return = TRUE, verbose=TRUE)
library(BH)
install.packages("src/Boom_0.1.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("Boom ", lib.loc=".", logical.return = TRUE, verbose=TRUE)
install.packages("src/BoomSpikeSlab.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("BoomSpikeSlab", lib.loc=".", logical.return = TRUE, verbose=TRUE)
install.packages("src/bsts_0.5.1.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("bsts", lib.loc=".", logical.return = TRUE, verbose=TRUE)
library(zoo)
library(xts)
install.packages("src/CausalImpact.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("CausalImpact", lib.loc=".", logical.return = TRUE, verbose=TRUE)
我尝试在 AzureML studio 中使用 "devtools" 从 github 为我的一个项目导入 causalImpact 库。 使用的代码是:
library(devtools)
devtools::install_github("google/CausalImpact")
不幸的是,Azure 不支持 this.So 尝试按照此 blog 中的过程导入它。它在 casualImpact 的依赖包名称上给出了多个错误(即 BOOM、BH 等.).谁能帮我在 Azure 上导入这个包?
这是我在上面给出的 link 之后使用的 R 脚本:
library(assertthat)
library(dplyr)
library(hflights)
library(Lahman)
library(magrittr)
library(LGPL)
install.packages("src/BH_1.55.0-3.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("BH ", lib.loc=".", logical.return = TRUE, verbose=TRUE)
library(BH)
install.packages("src/Boom_0.1.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("Boom ", lib.loc=".", logical.return = TRUE, verbose=TRUE)
install.packages("src/BoomSpikeSlab.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("BoomSpikeSlab", lib.loc=".", logical.return = TRUE, verbose=TRUE)
install.packages("src/bsts_0.5.1.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("bsts", lib.loc=".", logical.return = TRUE, verbose=TRUE)
library(zoo)
library(xts)
install.packages("src/CausalImpact.zip", lib = ".", repos = NULL, verbose = TRUE)
success <- library("CausalImpact", lib.loc=".", logical.return = TRUE, verbose=TRUE)