Unable to launch runtime for 'R' script

巧了我就是萌 提交于 2021-02-16 18:53:27

问题


After installing the Advanced Analytics Extensions in SQL Server 2016 (CTP3) the following error appears in SSMS while executing an R-script:

Unable to launch runtime for 'R' script. Please check the configuration of the 'R' runtime.

What is the remedy?


回答1:


Tried different approaches, but only this worked for me:

"C:\Program Files\Microsoft SQL Server\130\R_SERVER\library\RevoScaleR\rxLibs\x64\RegisterRExt" /uninstall

Then

"C:\Program Files\Microsoft SQL Server\130\R_SERVER\library\RevoScaleR\rxLibs\x64\RegisterRExt" /install

The approach is similar to the previous answer, but looks like the path to the RegisterRExt.exe was changed in the RTM.




回答2:


There are post-install steps which are described in the article "Post-Installation Server Configuration (SQL Server R Services)". In particular, executing the following in an elevated CMD did it for me

%programfiles%\RRO\RRO-3.2.2-for-RRE-7.5.0\R-3.2.2\library\RevoScaleR\rxLibs\x64\RegisterRExt.exe /install

Being CTP3 I think the final docs and setup will be more smooth when released. Currently things are still a bit confusing.



来源:https://stackoverflow.com/questions/33473612/unable-to-launch-runtime-for-r-script

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!