[R-sig-DB] RJDBC: dbGetQuery works but fetch does not.

Benjamin Tyner btyner @end|ng |rom gm@||@com
Sun Nov 11 05:10:00 CET 2012


Hello,

When using fetch() with RJDBC, I get the error:

   Error in function (classes, fdef, mtable)  :
     unable to find an inherited method for function "fetch", for 
signature "JDBCResult", "missing"

However if I use dbGetQuery instead, it works splendidly. my driverClass 
is com.sybase.jdbc2.jdbc.SybDriver and I'm using:

   R version 2.14.1 (2011-12-22)
   Platform: x86_64-unknown-linux-gnu (64-bit)
   RJDBC_0.2-0
   rJava_0.9-3
   DBI_0.2-5

Any ideas?

Thanks
Ben

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3776 bytes
Desc: S/MIME Cryptographic Signature
URL: <https://stat.ethz.ch/pipermail/r-sig-db/attachments/20121110/68b91b5f/attachment.bin>


More information about the R-sig-DB mailing list