10.1.2 APIs for Embedded R Execution
Oracle Machine Learning for R provides R, SQL and REST interfaces for Embedded R Execution.
The following table lists the R functions and the equivalent SQL functions and procedures for Embedded R Execution and OML4R script repository management. The function f refers to a named R function or an R function defined in a script in the OML4R script repository.
                  
Table 10-1 R and SQL APIs for Embedded R Execution
| R API | SQL API | Description | 
|---|---|---|
| 
 | 
 | Runs  | 
| 
 | 
 | Runs  | 
| 
 | 
 This function must be explicitly defined by the user. | Runs  | 
| 
 | 
 | Runs  | 
| 
 | No equivalent. | Runs  | 
| ore.grant | rqGrant | Grants read privilege access to a datastore or script. | 
| ore.revoke | rqRevoke | Revokes read privilege access to a datastore or script. | 
| 
 | 
 | Adds the provided R function into the OML4R script repository with the provided name. | 
| 
 | 
 | Removes the named R function from the OML4R script repository. | 
| ore.scriptList | ALL_RQ_SCRIPTS
 | Lists information about scripts. | 
| ore.scriptLoad | No equivalent. | Loads the R function of a script into the R environment. | 
Parent topic: About Embedded R Execution