Sql server 无法启动“R”脚本的运行时。请检查“R”运行时的配置

Sql server 无法启动“R”脚本的运行时。请检查“R”运行时的配置,sql-server,r,sql-server-2016,Sql Server,R,Sql Server 2016,有很多问题就是这样的。但没有一个能解决我的问题。我把所有东西都安装好了。我使用的是SQL Server 2016 RC1。这是我的registerext.log文件 当我尝试运行外部脚本时,我得到了这个错误。这是我的剧本: execute sp_execute_external_script @language = N'R', @script = N'mysum <- 4+2; OutputDataSet <- data.frame(mysum);',

有很多问题就是这样的。但没有一个能解决我的问题。我把所有东西都安装好了。我使用的是SQL Server 2016 RC1。这是我的registerext.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));

根据日志,安装过程中似乎没有任何明显的问题。您可以从以下位置共享错误日志吗

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

请注意,SQL Server 2016 RC2现在正在运行。RC2具有所有组件的功能。您可以使用升级R组件。

我没有投反对票,但我猜这个问题不受欢迎,因为它不是很有描述性。你到底做了什么导致了这个错误?你能给我一些其他问题的链接吗?你能提供更多的背景吗?你可能想读书。编辑:对那些投票否决而不留下评论的人:虽然你可能不喜欢这个问题,但通常最好解释一下你不喜欢它的地方。这也有助于未来的行动。@Laterow谢谢你,非常感谢。我正赶着去实习,所以我忘了放我的脚本。日志无法访问。您能否只共享这些日志中的错误部分?
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