Re: [R] RPostgreSQL: unable to load shared library

2009-10-15 Thread Fanfaar
Thanks, Brian and Joe, for the explanations. The libpq DLL was indeed
the problem.
FYI, it seems to load fine using the PostgreSQL 8.4 libpq.gll, if
further testing reveals problems I'll report it back.

Arnout


On Wed, Oct 14, 2009 at 4:33 PM, Fanfaar fanf...@gmail.com wrote:
 Hello list,

 I'm using R 2.9.2 on a WinXP system, and I installed the RPostgreSQL
 library using the package installer. When trying to load it, I get the
 following error:

 library('RPostgreSQL')
 Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
 'C:/PROGRA~1/R/R/library/RPostgreSQL/libs/RPostgreSQL.dll':
  LoadLibrary failure:  The operating system cannot run %1.

 Error: package/namespace load failed for 'RPostgreSQL'

 So one way or the other, the DLL is not found... Does anyone know how
 to fix this? I don't suppose DLL should be directly in my PATH, right?

 Thanks for any hints,
 Arnout


__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.


[R] RPostgreSQL: unable to load shared library

2009-10-14 Thread Fanfaar
Hello list,

I'm using R 2.9.2 on a WinXP system, and I installed the RPostgreSQL
library using the package installer. When trying to load it, I get the
following error:

 library('RPostgreSQL')
Error in inDL(x, as.logical(local), as.logical(now), ...) :
  unable to load shared library
'C:/PROGRA~1/R/R/library/RPostgreSQL/libs/RPostgreSQL.dll':
  LoadLibrary failure:  The operating system cannot run %1.

Error: package/namespace load failed for 'RPostgreSQL'

So one way or the other, the DLL is not found... Does anyone know how
to fix this? I don't suppose DLL should be directly in my PATH, right?

Thanks for any hints,
Arnout

__
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.