這裏有很多問題。但他們中沒有人能解決我的問題。我正確安裝了一切。我正在使用SQL Server 2016 RC1。這是我的RegisterRExt.log
文件。無法爲'R'腳本啓動運行時。請檢查'R'運行時間的配置
當我嘗試運行外部腳本時出現此錯誤。這裏是我的腳本:
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
我沒有downvote,但我的猜測是,這個問題是不被接受的,因爲它不是非常具有描述性。你究竟做了什麼?噸導致這個錯誤?你能否提供一些其他問題的鏈接?你能否提供更多的上下文?你可能想閱讀[如何在Stack上提出問題](http://stackoverflow.com/help/how-to-ask)。編輯:對於沒有留下評論而冷嘲熱諷的人:雖然你可能不喜歡這個問題,但通常最好解釋一下你不喜歡的問題。這也有助於未來的OP。 – Laterow
@Laterow非常感謝你。我很着急(做實習),所以我忘了放我的劇本。 –