[R] Reshape and column order

2007-04-11 Thread Ian Kennedy
If I try to reshape a data frame into a long format with more than one column it seems to mix up the column headings (or the columns, depending on how you look at it). For example: d - data.frame(row=1:2,b.1=c(1b1,2b1),b.2=c(1b2,2b2),a.1=c(1a1,2a1),a.2=c(1a2,2a2)) d row b.1 b.2 a.1 a.2 1 1

[R] xtable and column headings

2007-02-01 Thread Ian Kennedy
When I generate a LaTeX table using xtable I have been setting column names to strings with LaTeX code in order to get features like subscripts in the column headings. I recently had to reinstall xtable and discovered that all my LaTeX column headings were printing out in LaTeX code rather than

Re: [R] Entering times around the start of daylight savings time

2004-04-30 Thread Ian Kennedy
time. For the last example above, if I enter an unknown time zone, then it doesn't know what to do when daylight savings time would start. (As an aside, So, to add to my question above, how can I get R in Linux (or Windows for that matter) to behave like OS X in this matter? Thanks again Ian

[R] Entering times around the start of daylight savings time

2004-04-29 Thread Ian Kennedy
unreliable. Thanks for any suggestions, Ian Kennedy __ [EMAIL PROTECTED] mailing list https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html