Skip to content
Prev 200756 / 398503 Next

Error using 32-bit R and RODBC package on 64-bit Windows Server OS with R version 2.10

Just to clarify on your first point, it is not that RODBC cannot work  
with 64 bit ODBC drivers. Given your particular configuration of 64  
bit Windows, 32 bit R and 64 bit ODBC drivers, you are likely running  
into compatibility issues.

 From the error message below, it would seem that you are also either  
missing the requisite Oracle client software, or your system  
configuration variables are not set or are not set to the proper paths.

The 32 bit Windows Oracle downloads are available from:

   http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/winsoft.html

Now, I don't run Windows (have not in a long time), so I am not clear  
as to the subtleties that may be in play here given that you may be  
installing 32 bit drivers over an existing 64 bit installation. You  
may need to remove the 64 bit install, in order to have a clean  
install of the 32 bit Oracle client apps. If they install into  
different locations, that might help to solve the problem, in which  
case, you need to be careful in configuring any system environment  
variables so that they point to the proper location.

If you have access to in-house tech support or an Oracle SysAdmin, I  
would highly recommend that you seek them out to aid in ensuring that  
you end up with a clean 32 bit Oracle client installation. As I noted  
previously, I would be sure that you can connect to the Oracle server  
using the 32 bit Oracle Instant Client application as a test to ensure  
that OS and Oracle related configuration issues have been resolved.  
Then test the RODBC connection within R. That two step process has  
helped me to debug local configuration issues on both Linux and OSX.

HTH,

Marc Schwartz
On Nov 18, 2009, at 3:12 PM, helpme wrote: