none
跟着R Services(数据库中)安装,到确认R运行时出了问题 RRS feed

  • 问题

  • 文档链接  https://msdn.microsoft.com/library/mt696069(SQL.130).aspx

    按文档确认R运行那一步运行

    exec sp_execute_external_script  @language =N'R', 
    @script=N'OutputDataSet<-InputDataSet',   
    @input_data_1 =N'select 1 as hello' 
    with result sets (([hello] int not null)); 
    go 

    报错:

    消息 39021,级别 16,状态 1,第 1 行
    无法启动“R”脚本的运行时。请检查“R”运行时的配置。
    消息 39019,级别 16,状态 1,第 1 行
    发生外部脚本错误:
    Unable to launch the runtime. ErrorCode 0x80070490: 1168(找不到元素。).
    消息 11536,级别 16,状态 1,第 4 行
    EXECUTE 语句失败,因为其 WITH RESULT SETS 子句指定了 1 个结果集,但该语句在运行时仅发送了 0 个结果集。

    求教。。。

    2016年6月30日 15:17

答案