Displaying 1 result from an estimated 1 matches for "trialtype".
Did you mean:
trial_type
2010 Apr 30
0
RMySQL and dates
I am trying to read and write database tables that have a date field in
them.
I am constructing a data.frame, then using dbWriteTable to create the
table and dbReadTable to read it.
>datatbl<-data.frame( dates, trialnum, fooddel, ethdel, trialtime,
trialtype, deliveries, food, ethanol, fcumrec, dcumrec, rrf, rrd)
>ifelse(startdate==filelist, filetbl<-datatbl,filetbl<-rbind(filetbl,
datatbl))
>dbWriteTable(con, subj, as.data.frame(filetbl), overwrite=T)
This creates the table named for the contents of subj...the problem is
in the clas...