Re: [R] class changed after execution with sqldf

2010-11-02 Thread Gabor Grothendieck
On Tue, Nov 2, 2010 at 7:01 PM, GL wrote: > > Forgot to mention. This works in the PC implementation of R. The results I'm > seeing here are in Mac OS X with X11 and tcl/tk installed. Could you provide a minimal reproducible example that illustrates the problem. -- Statistics & Software Consul

Re: [R] class changed after execution with sqldf

2010-11-02 Thread GL
Forgot to mention. This works in the PC implementation of R. The results I'm seeing here are in Mac OS X with X11 and tcl/tk installed. -- View this message in context: http://r.789695.n4.nabble.com/class-changed-after-execution-with-sqldf-tp3024592p3024602.html Sent from the R help mailing lis

[R] class changed after execution with sqldf

2010-11-02 Thread GL
When I run sqldf to merge two datasets, it's changing the Date (class date) to a numeric value (class factor). Not sure why. Appreciate any insight. Console output for two datasets and the merged dataset (via sqldf) listed below. > summary(df.aggregate) Date Hour