Re: [R] How to start console output with a comment sign (as in knitr)

2013-03-02 Thread Marcus Kriele
TRUE > }) > > 3+4 > 5*6 > tmp <- 7-8 > ls() > > > ### clean up when finished > removeTaskCallback(1) > sink() > options(echo=TRUE) > > > This misses errors and warnings, but should do what you want for everything > else. > > > O

[R] How to start console output with a comment sign (as in knitr)

2013-03-02 Thread Marcus Kriele
Dear all, knitr writes a comment sign in front of each line of console output. This extremely useful, especially for beginners who are starting to write scripts. One could just compose their script in the console (getting immediate output) and then copy the whole chunk into their .r-file. I h

[R] timeBasedSeq stumbles over the year 2038 (xts package)

2012-08-01 Thread Marcus Kriele
I have the following problem: As expected I obtain timeBasedSeq( 2037/2037) [1] "2037-01-01" > However if I do the same for 2038 I get timeBasedSeq( 2038/2038) [1] "2038-01-01" "2039-01-01" I get the same strange result if I use later years or any interval that contains 2038: timeBasedSeq( 203