2015-11-01 53 views
0

大家好,平方米lserver 2016 CTP3:在Windows Server安裝後R構錯誤

我已經安裝了SQL Server 2016瞭解R集成的電源,現在在做後期的安裝步驟和運行安裝後的腳本,我就是我使用了命名實例不斷得到錯誤

(這裏改了名字),做了也就是使外部腳本

的第一步我是一個新手,以微軟平臺和決不一個DBA,所以如果我錯過了什麼,請指點我 我正在運行這個sc RIPT Windows PowerShell中(如管理員)。請協助

「%programfiles%\RRO\RRO-3.2.2-for-RRE-7.5.0\R-3.2.2\library\RevoScaleR\rxLibs\x64\RegisterRExt」 /install /instance:mydb\rinstance 

我試圖從目錄中運行RegisterRExt也不過同樣的錯誤不斷彈出。

install/instance:mydb\rinstance 
At line:1 char:97 
+ ... \RegisterRExt"/install/instance:mydb\rinstance 
+     ~ 
You must provide a value expression following the '/' operator. 
At line:1 char:97 
+ ... \RegisterRExt"/install/instance:mydb\rinstance 
+     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
Unexpected token 'install/instance:mydb\rinstance' in expression or statement. 
    + CategoryInfo   : ParserError: (:) [], ParentContainsErrorRecordException 
    + FullyQualifiedErrorId : ExpectedValueExpression 

儘管單獨運行RegisterRExt可執行文件,但它顯示它期望有一個/ install參數,但它不起作用。

回答

1

要使用PowerShell的呼叫RegisterRExt.exe,請使用以下語法:

&「$ {ENV:PROGRAMFILES} \ RRO \ RRO-3.2.2換RRE-7.5.0 \ R-3.2。 2 \ library \ RevoScaleR \ rxLibs \ x64 \ RegisterRExt.exe「/ install/instance:sql_instance_name

此PowerShell命令使用調用(&)運算符使用環境變量調用RegisterRExt.exe,並將它的名稱的情況。

欲瞭解更多信息,請參閱Using environment variables with Windows PowerShellThe CALL Operator

相關問題