在Azure ML中安装R包 [英] Install R Packages in Azure ML

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

问题描述

这是我第一次使用Azure ML,现在过得很艰难.我需要安装多个R packages,这些默认未在Azure ML中提供.为简单起见,假设我只需要安装forecast软件包.

Its my 1st time using Azure ML and I am having a rough time. I need to install multiple R packages that are not provided by default in Azure ML. To make it simple, lets assume that I only need to install the forecast package.

基于所写内容文档forecast package具有几乎有十二个依赖项.此外,这些依赖项可能具有默认情况下未安装在Azure ML中的依赖项.此外,在Azure ML中上载zip文件并尝试解决所有依赖关系似乎不太正确.

Based on what is written here, I also need to plan the installation of the dependencies of the forecast package. However, based on the documentation, the forecast package has almost a dozen dependencies. Furthermore, these dependencies probably have dependencies that are not installed by default in Azure ML. In addition, it does not seem quite right to upload a zip file in Azure ML and to try to make all the dependencies work out.

是否有其他方法可以比我在网上找到的更简单的方法安装forecast package?公司做什么?上传zip文件似乎不可行!

Is there any other way to install the forecast package that is easier and simpler than what I found online? What do companies do? Uploading a zip file does not seem viable!

推荐答案

您可以使用miniCRAN( https://cran.r-project.org/web/packages/miniCRAN/index.html )来构建包含所有依赖项的zip文件,然后上传zip文件并将其用于安装所需的软件包.它还允许您选择在使用Azure ML时至关重要的目标平台(type ="win.binary")和R版本(RVersion ="3.1").这里有一个教程( http://blog. Revolutionanalytics.com/2015/10/using-minicran-in-azure-ml.html )概述了这些步骤.

You can use miniCRAN (https://cran.r-project.org/web/packages/miniCRAN/index.html) to build the zip file with all dependencies included then upload the zip file and use it to install your required packages. It also allows you to choose the target platform (type="win.binary") and R version (RVersion="3.1") which are crucial when using Azure ML. There is a tutorial here (http://blog.revolutionanalytics.com/2015/10/using-minicran-in-azure-ml.html) that outlines the steps.

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

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