Hi,
On 6/14/07, Prof Brian Ripley <[EMAIL PROTECTED]> wrote:
> On Thu, 14 Jun 2007, Aydemir, Zava (FID) wrote:
>
> > i am trying to connect to a DB2 server using the DBI library.
>
> The DBI *package* does not allow you to connect to anything by itself.
> For that you need a driver package, curren
On Thu, 14 Jun 2007, Aydemir, Zava (FID) wrote:
> i am trying to connect to a DB2 server using the DBI library.
The DBI *package* does not allow you to connect to anything by itself.
For that you need a driver package, currently available for MySQL, ORACLE
and SQLite (only, AFAIK).
There are O
Hi,
i am trying to connect to a DB2 server using the DBI library.
getData <- function()
{
driver <- dbDriver("DB2")
conn <- dbConnect(driver,"server","uname","pword")
data <- dbSendquery(conn, "select etc.")
}
When I run the function, i get the error
> data <- getData(