将TSdist安装到azure R脚本

编程入门 行业动态 更新时间:2024-10-24 16:27:48
本文介绍了将TSdist安装到azure R脚本的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我尝试使用miniCRAN制作的zip文件将TSdist包加载到azure中。我使用的代码如下,

I tried to load the TSdist package to azure by using a zip file made from miniCRAN. The code I used is as follows,

uri_repo< - " file:/// C:/ src / repoCRANwin /"

uri_repo <- "file:///C:/src/repoCRANwin/"

options(repos = uri_repo) table_packages< - data.frame(package = rownames(available.packages() )) install.packages(" TSdist") library(" TSdist") maml.mapOutputPort(" table_packages" )

options(repos = uri_repo) table_packages <- data.frame(package = rownames(available.packages())) install.packages("TSdist") library("TSdist") maml.mapOutputPort("table_packages")

并且它给出以下错误

错误0063:评估期间发生以下错误R脚本: Error 0063: The following error occurred during evaluation of R script: 推荐答案

Hi,

当R脚本评估因错误而失败时,会引发此异常。

This exception is raised when R script evaluation fails with an error.

当您在其中一个 R语言模块在Azure机器学习中,R代码包含内部语法错误。如果您向R脚本提供错误的输入,也会发生异常。

This error occurs when you have provided an R script in one of theR language modulesin Azure Machine Learning, and the R code contains internal syntax errors. The exception can also occur if you provide the wrong inputs to the R script.

如果脚本太大而无法在工作区中执行,也会发生错误。 执行R脚本模块的最大脚本大小为1,000行或32KB的工作空间,以较小者为准。

The error can also occur if the script is too big to execute in the workspace. The maximum script size for theExecute R Scriptmodule is 1,000 lines or 32KB of work space, whichever is lesser.

  • 在Azure Machine Learning Studio中,右键单击模块如果出现错误,请选择 查看日志
  • 检查标准错误日志包含堆栈跟踪的模块。
    • 以[ModuleOutput]开头的行表示来自R的输出。
    • 来自R的邮件标记为 警告通常不会导致实验失败。
    • In Azure Machine Learning Studio, right-click the module that has the error, and selectView Log.
    • Examine the standard error log of the module, which contains the stack trace.
      • Lines beginning with [ModuleOutput] indicate output from R.
      • Messages from R marked aswarningstypically do not cause the experiment to fail.
        • 检查R语法错误。检查已定义但从未填充的变量。
        • 查看输入数据和脚本以确定脚本中的数据或变量是否使用不支持的字符通过Azure机器学习。
        • 检查是否已安装所有软件包依赖项。
        • 检查是否您的代码加载了默认情况下未加载的必需库。
        • 检查所需的包是否是正确的版本。
        • 确保要输出的任何数据集都转换为数据框。

        问候,

        宇通

  • 更多推荐

    将TSdist安装到azure R脚本

    本文发布于:2023-10-16 00:10:31,感谢您对本站的认可!
    本文链接:https://www.elefans.com/category/jswz/34/1495903.html
    版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
    本文标签:脚本   TSdist   azure

    发布评论

    评论列表 (有 0 条评论)
    草根站长

    >www.elefans.com

    编程频道|电子爱好者 - 技术资讯及电子产品介绍!