2.2.3.1 Using Proxy Objects for Database Data
Using Oracle Machine Learning for R, you can create R proxy objects in your R session to access and manipulate database tables and views.
Creating proxy objects is described in the following topics.
- About Creating R Proxy Objects for Database Objects
To create proxy objects that enable accessing and manipulating database tables and views, you use theore.syncfunction. - Example using ore.sync function to obtain a proxy object
The following example demonstrates the use of theore.syncfunction. - Get R Proxy Objects with the ore.get Function
After you have created an R environment andore.frameproxy objects withore.sync, you can retrieve the R proxy objects by name with theore.getfunction from your R environment. - 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 AI Database