无法为' R'启动运行时脚本。请检查' R'的配置。运行

时间:2016-03-31 08:32:40

标签: sql-server r sql-server-2016

这里有很多问题。但他们没有解决我的问题。我正确安装了一切。我使用的是SQL Server 2016 RC1。这是我的RegisterRExt.log文件。

当我尝试运行外部脚本时,我收到此错误。这是我的剧本:

execute sp_execute_external_script
 @language = N'R',
 @script = N'mysum <- 4+2;
             OutputDataSet <- data.frame(mysum);',
 @input_data_1 = N''
WITH RESULT SETS (([col] int NOT NULL));

-

Information: 0 : Source directory to pick the RExtension binaries determined to be "C:\Program Files\Microsoft\MRO-for-RRE\8.0\R-3.2.2\library\RevoScaleR\rxLibs\x64\".
    DateTime=2016-03-31T08:22:56.0402714Z
 Information: 0 : Connecting to SQL server...
    DateTime=2016-03-31T08:22:56.0558982Z
 Information: 0 : Sql server binn directory is "C:\Program Files\Microsoft SQL Server\MSSQL13.SQLEXPRESS16\MSSQL\Binn".
    DateTime=2016-03-31T08:22:56.1052780Z
 Information: 0 : Sql server log directory is "C:\Program Files\Microsoft SQL Server\MSSQL13.SQLEXPRESS16\MSSQL\Log".
    DateTime=2016-03-31T08:22:56.1088796Z
 Information: 0 : Creating user account pool...
    DateTime=2016-03-31T08:22:56.1088796Z
 Information: 0 : Creating user accounts.
    DateTime=2016-03-31T08:22:56.1088796Z
 Information: 0 : Created SQL login for the R SQL user group DESKTOP-A30IBLC\SQLRUserGroupSQLEXPRESS16
    DateTime=2016-03-31T08:24:32.1721674Z
 Information: 0 : Adding firewall rule for user account pool.
    DateTime=2016-03-31T08:24:32.1721674Z
 Information: 0 : Creating working directory for user accounts.
    DateTime=2016-03-31T08:24:32.2034223Z
 Information: 0 : Saving user account configuration.
    DateTime=2016-03-31T08:24:32.2513028Z
 Information: 0 : User account pool with 20 users created.
    DateTime=2016-03-31T08:24:32.2569751Z
 Information: 0 : R installation found at C:\Program Files\Microsoft\MRO-for-RRE\8.0\R-3.2.2.
    DateTime=2016-03-31T08:24:32.2569751Z
 Information: 0 : MPI installation found at C:\Program Files\Microsoft MPI.
    DateTime=2016-03-31T08:24:32.2569751Z
 Information: 0 : Settings file C:\Program Files\Microsoft SQL Server\MSSQL13.SQLEXPRESS16\MSSQL\Binn\rlauncher.config created.
    DateTime=2016-03-31T08:24:32.2726036Z
 Information: 0 : Stopping service MSSQLLaunchpad$SQLEXPRESS16...
    DateTime=2016-03-31T08:24:32.2882280Z
 Information: 0 : Stopping service MSSQL$SQLEXPRESS16...
    DateTime=2016-03-31T08:24:32.2882280Z
 Information: 0 : Copied RLauncher.dll from C:\Program Files\Microsoft\MRO-for-RRE\8.0\R-3.2.2\library\RevoScaleR\rxLibs\x64\ to C:\Program Files\Microsoft SQL Server\MSSQL13.SQLEXPRESS16\MSSQL\Binn.
    DateTime=2016-03-31T08:24:32.5649722Z
 Information: 0 : Starting service MSSQLLaunchpad$SQLEXPRESS16...
    DateTime=2016-03-31T08:24:32.5649722Z
 Information: 0 : R extensibility installed successfully.
    DateTime=2016-03-31T08:24:33.7295591Z

2 个答案:

答案 0 :(得分:0)

根据日志,看起来安装没有任何明显的问题。您可以从以下位置共享错误日志吗?

C:\ Program Files \ Microsoft SQL Server \ MSSQL13.SQLEXPRESS16 \ MSSQL \ Log \ ExtensibilityLog \ rlauncher.log“

“C:\ Program Files \ Microsoft SQL Server \ MSSQL13.SQLEXPRESS16 \ MSSQL \ Log \ ExtensibilityLog \ EXTLAUNCHERRORLOG”

答案 1 :(得分:0)

请注意SQL Server 2016 RC2现在是available for download。 RC2具有所有组件的integrated setup。您可以使用these instructions升级R组件。