6.1 About Oracle Machine Learning for R Embedded R Execution
In OML4R, embedded R execution is the ability to run R scripts in R engines that are dynamically started and managed by the database.
You can store R scripts in the OML4R script repository and to invoke such scripts with embedded R functions. When invoked, a script executes in one or more R engines that run on the database server. OML4R provides both an R interface and a SQL interface for embedded R execution. From the same R script you can get structured data, an XML representation of R objects and images, and even PNG images through a BLOB column in a database table.
The following topics describe embedded R execution:
- Benefits of Embedded R Execution
Embedded R execution has the following benefits: - APIs for Embedded R Execution
Oracle Machine Learning for R provides R and SQL application programming interfaces for embedded R execution. - Security for Scripts
Because R scripts allow access to the database server, the creation of scripts must be controlled. - Support for Parallel Execution
Some of the Oracle Machine Learning for R embedded R execution functions support the use of parallel execution in the database. - Install a Third-Party Package for Use in Embedded R Execution
Embedded R execution allows the use of CRAN or other third-party packages in user-defined R functions executed on the Oracle Database server.
Parent topic: Use Oracle Machine Learning for R Embedded R Execution