在R脚本中安装软件包失败 [英] installation of package is failed in R script

查看:91
本文介绍了在R脚本中安装软件包失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好!

我在ML studio中使用了R脚本,当我运行它时,成功了.

I used R script in ML studio and when I run it,  it was succeed.

但是在将其部署为Web服务并对其进行测试之后

but after I deploy it as web service and test it 

我在下面看到一些错误

---------------------------------------------

-----------------------------------------

错误消息:执行R脚本管道传输(RPackage):在评估R脚本期间发生以下错误:R_tryEval:返回错误:install.packages("src/Rglpk_0.6-3.zip")中的错误:  ;
 无法安装软件包

站点路径:/workspaces/ca9b99aa4a314f90be61b553dfa13acc/webservices/4534614f60af440eb0141e40c8063e89/endpoints/default/test/rrs
活动ID:82e53138-b3b9-4a94-8695-0b8152c505ac
要求编号:26d78559-8dca-4cf8-9df5-be50d5e16235
工作区ID:ca9b99aa4a314f90be61b553dfa13acc
工作空间类型:PaidStandard
用户角色:所有者
租户ID:120c5204-34ec-40c3-a734-4cec6cd01755

Error Message: Execute R Script Piped (RPackage) : The following error occurred during evaluation of R script: R_tryEval: return error: Error in install.packages("src/Rglpk_0.6-3.zip") : 
  unable to install packages

Site Path: /workspaces/ca9b99aa4a314f90be61b553dfa13acc/webservices/4534614f60af440eb0141e40c8063e89/endpoints/default/test/rrs
Activity ID: 82e53138-b3b9-4a94-8695-0b8152c505ac
Request ID: 26d78559-8dca-4cf8-9df5-be50d5e16235
Workspace ID: ca9b99aa4a314f90be61b553dfa13acc
Workspace Type: PaidStandard
User Role: Owner
Tenant ID: 120c5204-34ec-40c3-a734-4cec6cd01755

--------------------------------------------------- ---------------------------

--------------------------------------------------------------------------

可能是什么问题?

我不明白为什么只有当我将其用作网络服务时才会失败.

I don't understand why it is failed only when I use it as web service.

是打包文件的文件路径的问题吗?

Is it the problem of the file path of package file? 

推荐答案

这里也有类似的问题报道:

https://social.msdn.microsoft.com/Forums/zh-CN/cf9f9bdb-323c-4b50-84ef-35af9826b9b4/unable-to-install-custom-r-package-machine-learning-studio-web-service吗? forum =机器学习

There's a similar issue reported here :

https://social.msdn.microsoft.com/Forums/en-US/cf9f9bdb-323c-4b50-84ef-35af9826b9b4/unable-to-install-custom-r-package-machine-learning-studio-web-service?forum=MachineLearning

请查看一下,让我们知道是否有帮助,否则我们很乐意继续深入研究该问题.

Please have a look and let us know if it helps, else we can gladly continue to probe further into the issue.


这篇关于在R脚本中安装软件包失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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