Re: [R] Using ODBC/RODBC with DBI

2008-07-03 Thread Prof Brian Ripley
On Mon, 30 Jun 2008, Magnus Torfason wrote: Hi all, I would like the following code to work, but it doesn't: library(DBI) library(RODBC) m <- dbDriver("RODBC") # Example for dbConnect(DBI), causes error m <- dbDriver("ODBC") # Example for DBIDriver-class(DBI), causes error The errors are: Err

Re: [R] Using ODBC/RODBC with DBI

2008-06-30 Thread Dirk Eddelbuettel
On 30 June 2008 at 08:57, Magnus Torfason wrote: | Hi all, I would like the following code to work, but it doesn't: | | library(DBI) | library(RODBC) | m <- dbDriver("RODBC") # Example for dbConnect(DBI), causes error | m <- dbDriver("ODBC") # Example for DBIDriver-class(DBI), causes error | |