[R] Load a data from oracle database to R

Gagan Pabla
Thu, 23 Apr 2009 17:18:01 -0000

Hello,

I am have trying to load data in R by connecting R to the database the
following way:
> library(RODBC)
> channel<-odbcConnect("gagan")

now after I connect to the server by putting pwd. I want to load table from
the database named "temp" in to R so that I can do some descriptive
statistics with it.

now when I try to do "data(temp)" it gives error saying "In
data(temp) :
data set 'temp' not found".

So, how do I load the table to R.

Your help will be greatly appreciated.

Thanks,

Gagan

	[[alternative HTML version deleted]]