2016-03-31 36 views
-2

這裏有很多問題。但他們中沒有人能解決我的問題。我正確安裝了一切。我正在使用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 
+0

我沒有downvote,但我的猜測是,這個問題是不被接受的,因爲它不是非常具有描述性。你究竟做了什麼?噸導致這個錯誤?你能否提供一些其他問題的鏈接?你能否提供更多的上下文?你可能想閱讀[如何在Stack上提出問題](http://stackoverflow.com/help/how-to-ask)。編輯:對於沒有留下評論而冷嘲熱諷的人:雖然你可能不喜歡這個問題,但通常最好解釋一下你不喜歡的問題。這也有助於未來的OP。 – Laterow

+0

@Laterow非常感謝你。我很着急(做實習),所以我忘了放我的劇本。 –

回答

0

基於日誌,它看起來並不像有沒有與任何安裝的明顯問題。你能分享以下地點的錯誤日誌嗎?

C:\ Program Files文件\ Microsoft SQL Server的\ MSSQL13.SQLEXPRESS16 \ MSSQL \登錄\ ExtensibilityLog \ rlauncher.log 「

」 C:\ Program Files文件\ Microsoft SQL Server的\ MSSQL13.SQLEXPRESS16 \ MSSQL \登錄\ ExtensibilityLog \ EXTLAUNCHERRORLOG」

+0

https://drive.google.com/open?id=0B6L1Wy0Cta3zbUFtU1htMWhsRUU –

+0

日誌無法訪問。你能分享這些日誌中的錯誤部分嗎? –