[GRASS-stats] Rdbi Error in loadNamespace
Markus Neteler
neteler at osgeo.org
Tue Jun 17 04:17:44 EDT 2008
On Tue, Jun 17, 2008 at 4:07 AM, Hamish <hamish_b at yahoo.com> wrote:
> Stanislav wrote:
>> 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.
>
> maybe a silly question, but is the Rdbi package already loaded at that point?
Loading is done like this (maybe silly suggestion again):
library(Rdbi)
library(RdbiPgSQL)
(I discovered the hard way some months ago that the second
command is also needed, it wasn't some years ago).
Then, evil can creep in after version change through .RData in
the current working directory.
Markus
More information about the grass-stats
mailing list