Is there a compelling reason to have strip.white default
to FALSE? It seems to me that it would be more common to
want the TRUE case.
Having said that, I must confess that I've never had the
problem Erik describes.
-Peter Ehlers
On 2010-06-29 17:14, Matt Shotwell wrote:
The document RFC 4180
The document RFC 4180 (which appears to be the CSV standard used by R,
see ?read.table) considers spaces to be part of the fielded value. Some
have taken this to mean that all white space characters should be
considered part of the fielded value, though the RFC is not explicit
here. Hence, this beh
Hi all,
Does anyone have any suggestions for debugging the execution of
examples by R CMD check? The examples work fine when I run them from
a live R prompt, but I get errors when they are run by R CMD check.
Thanks,
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of S
If I don't export an object saved in data/, do I still need to document it?
Currently it seems like I do. My namespace file looks like this:
export(evaluate)
export(parse_all)
export(replay)
But when I run R CMD check I get:
* checking for missing documentation entries ... WARNING
Undocumented
Hello,
While assisting a fellow R-helper off list, I narrowed down an issue he
was having to the following behavior of type.convert, called through
read.table. This is using R 2.10.1, if newer versions don't exhibit
this behavior, apologies.
# generates numeric vector
> type.convert(c("123.
Yes, you catch user interrupts (Ctrl-C) with tryCatch(...,
interrupt=function(cond) { ...}), cf.
http://www1.maths.lth.se/help/R/ExceptionHandlingInR/
/Henrik
On Tue, Jun 29, 2010 at 5:46 PM, Hadley Wickham wrote:
> Hi all,
>
> Is it possible to catch when the user presses Ctrl+C/Esc and deal w
Hi all,
Is it possible to catch when the user presses Ctrl+C/Esc and deal with
it at the R level?
Hadley
--
Assistant Professor / Dobelman Family Junior Chair
Department of Statistics / Rice University
http://had.co.nz/
__
R-devel@r-project.org maili
I came across the below mis-feature/bug using match with POSIXlt objects
(from strptime) in R 2.11.1 (though this appears to be an old issue).
> x <- as.POSIXlt(Sys.Date())
> table <- as.POSIXlt(Sys.Date()+0:5)
> length(x)
[1] 1
> x %in% table # I expect TRUE
[1] FALSE FALSE FALSE FALSE FALSE FAL