[R] can not read table in dbReadTable

2012-11-02 Thread Tammy Ma
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

Re: [R] can not read table in dbReadTable

2012-11-02 Thread 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_lical...@live.com schreef: tbs-dbListTables(con) tbs [1] lowend time week30 week33 week39 week42 my.data.copy - dbReadTable(tbs, week42) Error in function