[GRASS-stats] Rdbi Error in loadNamespace
Daniel McInerney
daniel.mcinerney at ucd.ie
Mon Jun 16 12:38:51 EDT 2008
Hi Stanislav,
I'm not overly familiar with Rdbi and can't
suggest a fix for the error message that you
outline.
However, you might consider using the RODBC
library [1] as an alternative means of connecting
R to PostgreSQL. Provided you edit /etc/odbc.ini
and /etc/odbcinst.ini to suit your set-up, you can
connect to your db with relative ease using obdcConnect()
and query tables using sqlQuery(). For additional
information see [2].
Regards,
Daniel.
[1] http://cran.r-project.org/web/packages/RODBC/index.html
[2] http://cran.r-project.org/doc/manuals/R-data.html#RODBC
bks at centrum.cz wrote:
> Hi,
>
> I have a problem to connect my Postgre with R.
> I did everything after Markus tutorial. It worked.
> But next time I used it, I cannot go over this error:
>
> "> library(Rdbi)
> Loading required package: Rdbi
> Error in loadNamespace(package, c(which.lib.loc, lib.loc), keep.source = keep.source) :
> cyclic name space dependencies are not supported
> Error : package 'Rdbi' could not be loaded
> Error : .onLoad failed in 'loadNamespace' for 'Rdbi'
> Error: package/namespace load failed for 'Rdbi' "
>
> I also tried to reinstall R, did not help.
> Could you help, me?
>
> Best regards,
> Stanislav
>
> _______________________________________________
> grass-stats mailing list
> grass-stats at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/grass-stats
>
More information about the grass-stats
mailing list