[R-sig-DB] RMySQL and RPostgreSQL interaction

Spencer Graves @pencer@gr@ve@ @end|ng |rom @tructuremon|tor|ng@com
Tue Sep 18 18:34:01 CEST 2012


On 9/18/2012 8:40 AM, Paul Gilbert wrote:
> I am doing some comparison for which I load both RMySQL and
> RPostgreSQL from my own packages TSMySQL and TSPostgreSQL and I am
> getting the following warning building a vignette. I think with
> package namespaces / S4 definitions it is a bit difficult to generate
> a self contained example, at least I have not yet managed to do that,
> but I would appreciate any suggestions about what needs to be done.


       If someone else identifies your problem, great.  Otherwise, have 
you tried creating a toy package containing only the minimum? If you get 
that to work, then I'd create a second toy package starting as a full 
copy of your existing package, then start throwing things out until you 
find the problem.  I know that's a lot of work, but if you use a manual 
binary search technique (discard roughly half of the package at each 
step -- or discard first the 90% you think is least likely to contain 
the problem), it could go fairly fast.  If you do it on R-Forge, then 
it's easy to give others access to your toy examples.


       I hope someone else helps you fix this without the route I 
suggested.  If not, I hope this helps.  Spencer

>
> Loading required package: TSPostgreSQL
> Loading required package: RPostgreSQL
> Warning in .simpleDuplicateClass(def, prev) :
>   A specification for class "dbObjectId" in package 'RPostgreSQL'
> seems equivalent to one from package 'RMySQL' and is not turning on
> duplicate class definitions for this class
>
> (I'm using  R version 2.15.1 on Ubuntu.)
>
> Thanks,
> Paul
>
> _______________________________________________
> R-sig-DB mailing list -- R Special Interest Group
> R-sig-DB using r-project.org
> https://stat.ethz.ch/mailman/listinfo/r-sig-db


-- 
Spencer Graves, PE, PhD
President and Chief Technology Officer
Structure Inspection and Monitoring, Inc.
751 Emerson Ct.
San José, CA 95126
ph:  408-655-4567
web:  www.structuremonitoring.com




More information about the R-sig-DB mailing list