Francois Vanderseypen
Francois Vanderseypen

Reputation: 1521

Unable to launch runtime for 'R' script

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?

Upvotes: 3

Views: 6179

Answers (2)

Denis Reznik
Denis Reznik

Reputation: 964

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.

Upvotes: 3

Francois Vanderseypen
Francois Vanderseypen

Reputation: 1521

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.

Upvotes: 0

Related Questions