[英]Error while running oracleProc function in R
I am trying to call oracle procedure from R using oracleProc method in ROracle library and getting the below error: 我正在尝试使用ROracle库中的oracleProc方法从R调用oracle过程,并得到以下错误:
Error in (function (classes, fdef, mtable) : unable to find an inherited method for function 'oracleProc' for signature '"OraConnection", "function"' 错误(函数(类(类,fdef,mtable)):无法为签名“ OraConnection”,“ function”的函数“ oracleProc”找到继承的方法
Does this mean that oracleProc function has not been implemented in ROracle yet ? 这是否意味着尚未在ROracle中实现oracleProc函数? I am using ROracle Version 1.3-1
我正在使用ROracle版本1.3-1
i was able to use oracleProc by passing sql statement rather than procedure in its parameter. 我能够通过传递sql语句而非参数中的过程来使用oracleProc。
stmt <- paste("Begin proc(:1,:2,:3);End;") stmt <-paste(“开始proc(:1,:2,:3); End;”)
oracleProc(con,stmt,df) oracleProc(CON,语句,DF)
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.