安装R套件时发生错误 [英] Error when installing R package

查看:89
本文介绍了安装R套件时发生错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试将使用R脚本的Azure ML模型部署为Web服务.在Azure中测试预测性实验时,一切运行正常,并且也可以将其作为批处理执行模型运行.但是当我尝试使用请求/响应时 选项,出现以下错误:

I'm trying to deploy as a web service an Azure ML model that uses R scripts.  Everything runs perfectly when testing the predictive experiment in Azure, and running it as a batch execution model also works.  But when I try to use the request/response option, I get the following error:

Unable to finish <modelname> test.  Model execution encountered an internal library error.

FailedToEvaluateRScript: The following error occurred during evaluation of R script: R_tryEval: return error: Error in install.packages("pec") : unable to install packages , Error code: LibraryExecutionError, Http status code: 400, Timestamp: Fri, 14 Dec 2018 19:29:23 GMT

有人知道为什么要在测试和批处理执行中正确安装软件包,而不是请求/响应吗?

Does anyone know why a package would install correctly in testing and batch execution, but not request/response?

推荐答案

您好,

我建议您先检查所有已安装的软件包,以确保已正确安装软件包.

I would like to recommend you check all installed packages first to make sure packages have been installed correctly.

此致

雨桐


这篇关于安装R套件时发生错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆