You appear to be using unixODBC and DOS paths!

You haven't told us what OS, what version of R, what version of RODBC, 
what driver manager, what driver ....  But it does seem unlikely that
unixODBC understands DOS paths.

The issue is very simple: the driver manager is not finding the path you 
specified.  We can only guess at why.


On Wed, 1 Jan 1997, Margarida =?iso-8859-1?Q?J�lia?= Rodrigues Igreja wrote:

Wow, your computer is living in the past!

> I've finally got a DSN working on my ODBC installation and I've tested it 
> with the ODBC DataManager so I'm sure it's working.
> However when trying to connect to the DSN via R interface I get an error:
> 
>  > 
> odbcConnect("H:\\Desktop\\bd1",uid="tiago",pwd="archi",case="nochange",believeNRows=TRUE)
> [1] -1
> Warning messages:
> 1: [RODBC] ERROR: state IM002, code 0, message [unixODBC][Driver 
> Manager]Data source name not found, and no default driver specified
> 2: ODBC connection failed in: odbcDriverConnect(paste("DSN=", dsn, ";UID=", 
> uid, ";PWD=", pwd,
> 
> Before the odbcCOnnect() command I gave the library(RODBC) command and it 
> gave no error
> What am I missing?
> 
> Margarida
> 
> ______________________________________________
> [EMAIL PROTECTED] mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
> 
> 

-- 
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html

Reply via email to