search for: mysqlwritetablecrudepatch

Displaying 1 result from an estimated 1 matches for "mysqlwritetablecrudepatch".

2002 Dec 18
1
A little problem handling logicals in RMySQL under R1.6.1
...e want... # # as a crude patch I added for (i in 1:length(value)) if (class(value[[i]])=="logical") class(value[[i]])<-"integer" # before i <- match("row.names", ... in mysqlWriteTable # but others have much more talent in writing clean code than I ... # > mysqlWriteTablecrudepatch(con,"test",a,overwrite=TRUE) [1] TRUE # and > aa<-dbReadTable(con,"test") > aa x y 1 1 0 2 0 1 # and this IS what we want. platform i386-pc-mingw32 arch i386 os mingw32 system i386, mingw32 status major 1...