Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

A problem when run demo("row_apply", package="ORE")

2932397Apr 16 2015 — edited May 20 2015

oracle version: 12.1c

error info

demo("row_apply", package="ORE")

        demo(row_apply)

        ---- ~~~~~~~~~

Type  <Return>   to start :

> #

> #     O R A C L E  R  E N T E R P R I S E  S A M P L E   L I B R A R Y

> #

> #     Name: row_apply.R

> #     Description: Execute R code on each row

> #

> #

>

> ## Set page width

> options(width = 80)

> # Push the built-in iris data frame to the database

> IRIS_TABLE <- ore.push(iris)

> # Display the class of IRIS_TABLE

> class(IRIS_TABLE)

[1] "ore.frame"

attr(,"package")

[1] "OREbase"

> # Apply given R function to each row

> ore.rowApply(IRIS_TABLE,

+              function(dat) {

+                  # Any R code goes here. Operates on one row of IRIS_TABLE at

+                  # a time

+                  cbind(dat, dat$Petal.Length)

+              })

Error in .oci.GetQuery(conn, statement, data = data, prefetch = prefetch,  :

  ORA-06520: PL/SQL: 加载外部库时出错 /* Error occur when loading external DLL */

ORA-06522: Unable to load DLL

ORA-06512: 在 line 11

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 18 2015
Added on Apr 16 2015
4 comments
1,167 views