[R] write.csv changes the format of the date
dwinsemius at comcast.net
Mon Nov 1 14:45:06 CET 2010
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:
> structure(list(Last_Successful_Run = structure(1L, .Label =
> class = "factor")), .Names = "Last_Successful_Run", class =
> row.names = c(NA,
> When I do:
> The format of the info in the file is:
Unable to reproduce. When I execute that code I get this file:
I'm guessing you are viewing that file with something other than a
plain text editor.
> I want to retain the dd/mm/YYYY format ...
> Please advise.
David Winsemius, MD
West Hartford, CT
R version 2.11.1 Patched (2010-06-14 r52281)
attached base packages:
 splines stats graphics grDevices utils datasets methods
other attached packages:
 Hmisc_3.8-1 survival_2.35-8 dismo_0.5-6 rJava_0.8-7
 raster_1.5-16 sp_0.9-72 sos_1.2-9 brew_0.1-1
loaded via a namespace (and not attached):
 cluster_1.12.3 grid_2.11.1 tools_2.11.1
More information about the R-help