3 Replies Latest reply: Apr 8, 2013 6:07 AM by Denis Mukhin-Oracle RSS

    Gives an error when running lm in embeded way

    551513
      Hi all,

      I tried the following script but it gives me an error.

      cat("run embeded lm..")
      mod3 <- ore.doEval(
      function() {
      library(ORE)
      library(biglm)
      ore.sync(table="MSCI_DAILY_INDEX")
      dat <- ore.pull(ore.get("MSCI_DAILY_INDEX"))
      biglm(STD_EOD00D_LOCAL ~ GRS_EOD00D_LOCAL, dat)
      }, ore.connect = TRUE);
      date()


      Error in match.call(definition, call, expand.dots) :
      unused argument(s) (ore.connect = TRUE)
      Calls: ore.doEval -> .ore.eval -> .ore.matchFUN -> match.call


      According to oneline documentation, it shoudl be a correct way to run the scripts under database-embeded engine.
      http://docs.oracle.com/cd/E11882_01/doc.112/e36761/using.htm

      However, if I remove this ore.connect=TRUE parameter, it would gives me an error something like "connection is not established". If I add ore.connect(....) in the function again, it works but very very slow...
      Please suggest a solution.

      Thanks,
      Copper