Skip to Main Content

Data Science & Machine Learning

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Connection to Oracle database from R

2703082Jul 8 2014 — edited Jul 10 2014


Hi everyone,

I had successfully connected to an Oracle database wi the the following commands:

library(ROracle)

drv <- dbdriver("Oracle")

connect.string <- paste("(DESCRIPTION=","(ADDRESS=(PROTOCOL=tcp)(HOST=",")(PORT=",port,"))","(CONNECT_DATA=(SERVICE_NAME=",svc,")))",sep="")

con <- dbConnect(drv, username=user, password=pass, dbname=connect.string)

The evaluation of the variable con shows zero as result respectively for the outputs 'Results processed' and 'Open results'

However my tables of interestĀ  are stored in and oracle system folder 'Other Users' (see which includes several schema objects which shelters the tables and the latter are located in appropriate structure like views

PLEASE HOW MAY I FORMULATE MY RORACLE REQUEST TO SELECT FOR EXAMPLE THE COLUMN MEANT_TEMPĀ  OF THE TABLE DAILY_CLIMATE IN THE VIEW DAILY_CLIMATE OF SCHEMA OBSERVATION IN THE SYSTEM STRUCTURE 'OTHER USERS'?

MANY THANKS FOR A HELP

Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Aug 7 2014
Added on Jul 8 2014
1 comment
1,104 views