Quantcast
Channel: Forum Getting started with SQL Server
Viewing all articles
Browse latest Browse all 7129

R Script can't wok in SQlServer 2016

$
0
0

EXECUTE   sp_execute_external_script
                @language = N'R'
              , @script = N'OutputDataSet <- InputDataSet'
              , @input_data_1 = N'SELECT 1 as Col'
              WITH RESULT SETS ((col int not null));
go

消息 39012,级别 16,状态 1,第 2 行
无法与'R'脚本的运行时通信。请检查'R'运行时的要求。
来自外部脚本的 STDERR 消息: 
Fatal error: cannot create 'R_TempDir'

消息 11536,级别 16,状态 1,第 5 行
EXECUTE 语句失败,因为其 WITH RESULT SETS 子句指定了 1 个结果集,但该语句在运行时仅发送了 0 个结果集。

SQL User is dbowner.


Viewing all articles
Browse latest Browse all 7129

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>