-2

像这样的问题很多。但他们都没有解决我的问题。我正确安装了所有东西。我正在使用 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
4

2 回答 2

0

请注意 SQL Server 2016 RC2 现在可供下载。RC2 具有所有组件的集成设置您可以使用这些说明升级 R 组件。

于 2016-04-05T21:59:42.167 回答
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"

于 2016-03-31T19:18:32.897 回答