2.2.1.2 About Using the ore.disconnect Function
To explicitly end the connection between an R session and the Oracle AI Database instance, run the ore.disconnect function.
OML4R implicitly runs ore.disconnect if you do either of the following:
-
Quit the R session.
-
Run
ore.connectwhile an OML4R connection is already active.
When you disconnect the active connection, OML4R discards all OML4R objects that you have not explicitly saved in an OML4R datastore.
Parent topic: About Connecting to the Database