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!

Interested in getting your voice heard by members of the Developer Marketing team at Oracle? Check out this post for AppDev or this post for AI focus group information.

sourceCpp and embedded script

User_1RHVHMar 29 2020 — edited Apr 17 2020

Hi,

I have an R script which runs perfectly on the server in an ORE environment. It uses the Rcpp package to create C++ objects and uses the sourceCpp function to call the C++ object script.

However, when I embed to exact same script for embedded R execution I get the following error:

ORA-20000: RQuery error

Error in system(cmd, ignore.stderr = TRUE, intern = TRUE) :

  error in running command

ORA-06512: at "RQSYS.RQEVALIMPL", line 104

ORA-06512: at "RQSYS.RQEVALIMPL", line 101

20000. 00000 -  "%s"

*Cause:    The stored procedure 'raise_application_error'

           was called which causes this error to be generated.

*Action:   Correct the problem as described in the error message or contact

           the application administrator or DBA for more information.

I have the RQADMIN role privilege.

I am unable to ascertain exactly what the 'cmd' variable may be as my R skills are limited and it appears buried in the package.

Why does this run in my ORE environment with a unix account and not with my Oracle account?

Any help on this would be appreciated.

Kind Regards

Comments

Processing

Post Details

Added on Mar 29 2020
4 comments
228 views