[R] Issue with Data Editor and Date objects

Horace Tso Horace.Tso at pgn.com
Thu Sep 28 19:42:42 CEST 2006


Dear list,

It's a minor issue but for someone who uses the Data Editor once in a
while this could be very annoying.

I have a dataframe with a Date column. When I bring it up with the
(gui) Data Editor (Edit -> Data editor...), do nothing and then close
it, the Date column turns into "numeric".

Before using Data Editor, 

>class(gas.gd$Flow.Date)
[1] "Date"

After Data Editor,

>class(gas.gd$Flow.Date)
[1] "numeric"

Any way to fix this?

TIA.

Horace W. Tso
Portland General Electric
Portland, Oregon



More information about the R-help mailing list