I suspect it should be
my.data.copy <- dbReadTable(con, "week42")
(with con instead of tbs as first argument)
Jan
Tammy Ma schreef:
tbs<-dbListTables(con)
tbs
[1] "lowend" "time" "week30" "week33" "week39" "week42"
my.data.copy <- dbReadTable(tbs, "week42")
Error in function (cla
> 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
2 matches
Mail list logo