Problem with Embedded R Execution: SQL Interface (ORE)

你说的曾经没有我的故事 提交于 2019-12-24 22:00:19

问题


I'm new to ORE and I'm expected to work with it. To fulfill this goal, I'm studying related documents and trying to implement and practice their samples and examples. In this regard, to practice an example of embedded r script , I've faced with an error by executing below script in SQL:

  • first I created the script:

    begin sys.rqScriptCreate('Example6','function(){
        res <- 1:10
        plot( 1:100, rnorm(100), pch = 21,
              bg = "red", cex = 2 )
        res
        }');end;
    
  • Then I ran it:

    select value from  table(rqEval( NULL ,'XML','Example6'));
    

As the result of executing, below output is returned:

A table of a row and a column with "(HUGECLOB)" as value

Now when I click on that value twice to show XML output, below error will display:

ORA-22922: nonexistent LOB value

I've being used this link:

https://blogs.oracle.com/r/introduction-to-ore-embedded-r-script-execution

Can anyone help me to solve this error?

来源:https://stackoverflow.com/questions/57896434/problem-with-embedded-r-execution-sql-interface-ore

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!