An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121102/9ee5d061/attachment.pl>
can not read table in dbReadTable
2 messages · Tammy Ma, Jan van der Laan
I suspect it should be my.data.copy <- dbReadTable(con, "week42") (with con instead of tbs as first argument) Jan Tammy Ma <metal_licaling at live.com> schreef:
tbs<-dbListTables(con) tbs
[1] "lowend" "time" "week30" "week33" "week39" "week42"
my.data.copy <- dbReadTable(tbs, "week42")
Error in function (classes, fdef, mtable) : unable to find an inherited method for function "dbReadTable", for signature "character", "character" I have created tables in db. but there is this error show up when I try to read the table in my db.. whats wrong with it?? Thanks a lot. Tammy [[alternative HTML version deleted]]
______________________________________________ R-help at 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.