Re: [R] How to prevent fix() from converting Dates into numeric

2007-12-08 Thread Christian Gold
Thanks. So there is no solution, other than avoiding fix() and edit()? What would then be the recommended way to make visible and inspect large data.frames (i.e. that are to big for sensibly displaying on the console)? Would I need to write the data to a file and open in a spreadsheet programme?

Re: [R] How to prevent fix() from converting Dates into numeric

2007-12-07 Thread Prof Brian Ripley
fix on a data frame calls edit: see ?edit.data.frame. The help for fix does say Editing an \R object may change it in ways other than are obvious: see the comment under \code{\link{edit}}. The simple answer is not to use fix() or edit() on other than the data frames they are documented t

[R] How to prevent fix() from converting Dates into numeric

2007-12-07 Thread Christian Gold
Dear list members Here is a strange problem that I have had for a long time, without finding out how to solve it. Whenever I use fix() on a data.frame that contains Dates, these are converted to numerics. As shown by the very simple example: a <- data.frame(var1 = 1, today = Sys.Date() ) a fix(a)

[R] How to prevent fix() from converting Dates into numeric

2007-12-07 Thread Christian Gold
Dear list members Here is a strange problem that I have had for a long time, without finding out how to solve it. Whenever I use fix() on a data.frame that contains Dates, these are converted to numerics. As shown by the very simple example: a <- data.frame(var1 = 1, today = Sys.Date() ) a fix