[R] New errors with difftime()-objects in 2.11.1 (was Re: Request: difftime method for cut())
dwinsemius at comcast.net
Tue Jun 22 20:14:43 CEST 2010
So the original email message was in error and you meant to type
"is.numeric" in the first line and not "as.numeric"?
(You might also note that sending duplicate messages to r-help and r-
devel is not considered proper etiquette. My reply did not go to r-
On Jun 22, 2010, at 2:01 PM, Gustaf Rydevik wrote:
> On Tue, Jun 22, 2010 at 7:50 PM, David Winsemius <dwinsemius at comcast.net
> > wrote:
>> On Jun 22, 2010, at 1:33 PM, Gustaf Rydevik wrote:
>> Cannot help you there, but have you looked at the help page for
>> "The as.double method returns the numeric value expressed in the
>> units. Using units = "auto" means the units of the object."
>> David Winsemius, MD
>> West Hartford, CT
> Oh, I forgot to mention that the workaround of using as.double (or
> as.numeric) works fine, and I've done that.
> It's just that it can take quite a while (as in several hours) to
> figure out that the reason for the error is that you have to force
> difftime objects to be numeric in 2.11.1, when the code's been working
> fine before and the error messages are obscure.
David Winsemius, MD
West Hartford, CT
More information about the R-help