[R] write.csv changes the format of the date

2010-11-01 Thread Santosh Srinivas
Dear Group, Why does write.csv modify the date format when it write to a file. I have the following variable Param_Dat: dput(Param_Dat) structure(list(Last_Successful_Run = structure(1L, .Label = 30/10/2010, class = factor)), .Names = Last_Successful_Run, class = data.frame, row.names = c(NA,

Re: [R] write.csv changes the format of the date

2010-11-01 Thread David Winsemius
On Nov 1, 2010, at 9:14 AM, Santosh Srinivas wrote: Dear Group, Why does write.csv modify the date format when it write to a file. I have the following variable Param_Dat: dput(Param_Dat) structure(list(Last_Successful_Run = structure(1L, .Label = 30/10/2010, class = factor)), .Names =

Re: [R] write.csv changes the format of the date

2010-11-01 Thread Santosh Srinivas
' Subject: Re: [R] write.csv changes the format of the date On Nov 1, 2010, at 9:14 AM, Santosh Srinivas wrote: Dear Group, Why does write.csv modify the date format when it write to a file. I have the following variable Param_Dat: dput(Param_Dat) structure(list(Last_Successful_Run

Re: [R] write.csv changes the format of the date

2010-11-01 Thread jim holtman
works fine on 2.11.1 Windows: x - structure(list(Last_Successful_Run = structure(1L, .Label = 30/10/2010, + class = factor)), .Names = Last_Successful_Run, class = data.frame, + row.names = c(NA, + -1L)) x Last_Successful_Run 1 30/10/2010 str(x) 'data.frame': 1 obs. of 1