问题
Have anyone tried to use R and Oracle servers?
The credientials required for connection are:
HOST = somewhere.com
PORT = 1525
SERVICE_NAME = someservice
USERNAME = user
PASSWORD = pass
I've tried RODBC:
library(RODBC)
channel <- odbcConnect("somewhere.com:1525/someservice", uid="user", pwd="pass")
But it only gives me these warnings:
Warning messages:
1: In odbcDriverConnect("somewhere.com:1525/someservice", uid="user", pwd="pass") :
[RODBC] ERROR: state IM010, code 0, message [Microsoft][ODBC Driver Manager] Data source name too long
2: In odbcDriverConnect("somewhere.com:1525/someservice", uid="user", pwd="pass") :
ODBC connection failed
Are there other ways to connect to Oracle?
Thanks all
来源:https://stackoverflow.com/questions/24274161/r-and-oracle-sql