2.2.1 Create R Objects for In-Database Data
Using Oracle Machine Learning for R, you can create R proxy objects in your R session for database-resident data.
Creating proxy objects is described in the following topics.
- About Creating R Objects for Database Objects
To gain access to the data in the database tables in the schema, you use theore.sync
function. - Synchronize Data with the ore.sync Function
The following example demonstrates the use of theore.sync
function. - Get Objects with the ore.get Function
After you have created an R environment andore.frame
proxy objects withore.sync
, you can get a proxy object by name with theore.get
function. - Add a Schema with the ore.attach Function
Withore.attach
, you add an R environment for a database schema to the R search path.
Parent topic: Create and Manage R Objects in Oracle Database