Micronsoft R不在Rstudio工作 [英] Micronsoft R is not working in Rstudio

查看:84
本文介绍了Micronsoft R不在Rstudio工作的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Hi Team,


我们已安装  微软
机器学习服务器9.2.1
。但 我们注意到R安装目录结构发生了变化。我们正在使用  Rstudio   as
IDE和RStudio已正常工作 
f
过去3个版本
 但是这个新版本"打破"了RStudio能够正确加载  RevoScaleR  打包
也许是因为它远离传统的目录结构或者设计了RStudio。




  Rstudio正在考虑" R_HOME "
as"
/ opt / microsoft / mlserver / 9.2.1 / runtime / R ",
,因为它具有正确的目录结构(其中包含"
备份 
箱位NBSP;复印 文档 等等&NBSP包括(include)NBSP; LIB 文库NBSP;模块 份额  SVN-REVISION ")
并且还有一个R可执行文件,但它是 
Microsoft R打开
所以Rstudio正在加载Microsoft R open。 
Microsoft机器学习服务器
R bin可执行文件
 放在另一个目录下" / opt / microsoft / mlserver / 9.2.1 / bin / R ",
没有任何目录结构,如上所述。 




你能让我们知道为什么R服务器可执行文件需要另一个目录,如果Rstudio位于目录" / opt / microsoft / mlserver / 9.2.1 / runtime / R"



 



谢谢,

Al Ameen

Hi Team,

We have installed Microsoft machine learning server 9.2.1. But  we noticed that there is a change in R installation directory structure.We are using Rstudio as IDE and RStudio has been worked properly for the past 3 versions but this new version "breaks" RStudio's ability to properly load the RevoScaleR packages perhaps because it moves away from the traditional directory structure or which RStudio was designed.

 Rstudio is considering the "R_HOME" as "/opt/microsoft/mlserver/9.2.1/runtime/R", because its having the proper directory structure (its included "backup  bin  COPYING  doc  etc  include  lib  library  modules  share  SVN-REVISION") and also having a R executable but it  is Microsoft R open, so Rstudio is loading Microsoft R open. Microsoft machine learning server R bin executable is placed under the another directory "/opt/microsoft/mlserver/9.2.1/bin/R", which dont have any directory structure as I said above. 

Could you let us know why the R server executable needs another directory, Rstudio should be work properly if it was under the directory"/opt/microsoft/mlserver/9.2.1/runtime/R".

 

Thanks,
Al Ameen

推荐答案

您遇到的问题只是Rstudio配置问题.Rstudio将尝试自动-detect R在系统上的默认CRAN位置。要指定一个替代路径,你需要在
'/ etc /rstudio / rserver.conf'中设置Rstudio变量'rsession-which-r'或文件'/ etc / rstudio / rsession / conf':

The problem you are having is simply a Rstudio configuration issue. Rstudio will try to auto-detect R on the system in the default CRAN location. To specify an alternative path you need to set the Rstudio variable 'rsession-which-r' as follows in either '/etc/rstudio/rserver.conf' or the file '/etc/rstudio/rsession/conf':

rsession-which -r = / opt / microsoft / mlserver / 9.2.1 / runtime / R

rsession-which-r=/opt/microsoft/mlserver/9.2.1/runtime/R

有关此问题的讨论,请查看Rstudio网站上的以下信息:

For a discussion of this, take a look at the following information on the Rstudio website:

https:// support .rstudio.com / hc / zh-CN / articles / 200552316-配置服务器

https://support.rstudio.com/hc/en-us/articles/200552316-Configuring-the-Server

Stephen Weller

Stephen Weller

Microsoft R产品团队

Microsoft R Product Team


这篇关于Micronsoft R不在Rstudio工作的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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