本文介绍了没有名为'AzureStor'的软件包的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述 29岁程序员,3月因学历无情被辞! 在Azure Machine Learning Studio中,我尝试执行以下脚本 install.packages(" AzureStor") library(AzureStor) bl_endp_key< - storage_endpoint(" https://xx.blob.core.windows.net" ;,key =" abc") cont< - storage_container(bl_endp_key," csv") rawvec< - download_blob(cont,src ="声明reserving.csv",dest = NULL)# $ install.packages(" ChainLadder") library(ChainLadder) #uploaded通过连接的序列化R对象 json2< - jsonlite :: toJSON(rawvec,pretty = TRUE,auto_unbox = TRUE) con< - textConnection(json2) upload_blob(续,src = con,dest =" rawvec3.json") 错误0063:在评估R脚本期间发生以下错误: $ ----------错误开始来自R的消息---------- 没有名为'AzureStor'的套餐 没有名为'AzureStor'的套餐 - ---------来自R的错误消息结束----------- 开始时间:UTC 04/11/2019 11:58:57 结束时间:UTC 04/11/2019 11:59:09 根据到这里的文档: https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/execute-r-script 如果您的压缩文件包含Azure Machine Learning Studio中尚未安装的任何R包,则必须在  作为自定义代码的一部分span style ="font-weight:600; font-family:'Segoe UI',SegoeUI,'Segoe WP','Helvetica Neue',Helvetica,Tahoma,Arial,sans-serif; font-size:16px">执行R脚本   module。 ZIP文件中包含的所有文件在实验运行时都可用。 我没有使用zip文件,只是简单的R脚本 解决方案 In Azure Machine Learning Studio, I am trying to execute the following scriptinstall.packages("AzureStor")library(AzureStor)bl_endp_key <- storage_endpoint("https://xx.blob.core.windows.net", key="abc")cont <- storage_container(bl_endp_key, "csv")rawvec <- download_blob(cont, src="Claims reserving.csv", dest=NULL)#install.packages("ChainLadder")library(ChainLadder)# uploading serialized R objects via connectionsjson2 <- jsonlite::toJSON(rawvec, pretty=TRUE, auto_unbox=TRUE)con <- textConnection(json2)upload_blob(cont, src=con, dest="rawvec3.json")But I get thies error:Error 0063: The following error occurred during evaluation of R script:---------- Start of error message from R ----------there is no package called 'AzureStor'there is no package called 'AzureStor'----------- End of error message from R -----------Start time: UTC 04/11/2019 11:58:57End time: UTC 04/11/2019 11:59:09According to the documentation here:https://docs.microsoft.com/en-us/azure/machine-learning/studio-module-reference/execute-r-scriptIf your zipped file contains any R package that is not already installed in Azure Machine Learning Studio, you must install the R package as part of the custom code in the Execute R Script module. All files that are contained in the ZIP file are available during experiment run time.I am not using a zip file, but just plain R script there 解决方案 这篇关于没有名为'AzureStor'的软件包的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持! 上岸,阿里云!
07-02 19:17