[英]How to install some R packages in Azure ML
I need to install some R packages in AzureML, but I think that I´m not doing this by the correct way:我需要在 AzureML 中安装一些 R 包,但我认为我没有以正确的方式这样做:
install.packages(c (
"timetk",
"modeltime",
"modeltime.ensemble",
"quantmod",
"rvest",
"tidyverse",
"gtrendsR",
"xlsx"
))
Then when I call the librarys before installing I have the following issue message:然后,当我在安装之前调用库时,我收到以下问题消息:
Error in library(timetk): There is no package called `timetk´...
I readed this post here ( Install R Packages in Azure ML ) in stackoverflow but I confess that I can´t go ahead to solve this...我在 stackoverflow 中阅读了这篇文章( 在 Azure ML 中安装 R 包),但我承认我不能 go 提前解决这个...
Error in library(timetk): There is no package called `timetk
库中的错误(timetk):没有名为 `timetk 的 package
The reason for this is that you have not installed the timetk package before loading it.原因是你在加载之前没有安装timetk package。
In case the timetk package is not installed yet, we have to apply the install packages function first:如果尚未安装 timetk package,我们必须先应用安装包 function:
install.packages("timetk ") # Install timetk install.packages("timetk") # 安装timetk
Note that you have to install a package only once.请注意,您只需安装一次 package。
Now, we can apply the library function to load the timetk package library("timetk ") # Load timetk现在,我们可以应用库 function 来加载 timetk package library("timetk ") # Load timetk
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.