Re: [R] Annoyance in as.numeric

From: Gavin Simpson <>
Date: Mon, 16 Jun 2008 23:02:38 +0100

On Mon, 2008-06-16 at 14:50 -0700, Taylor, Z Todd wrote:
> I generally do something like
> storage.mode(my.matrix) <- "double"

Ahh, that's what I was missing; I was side tracked by working out why I couldn't write an S3 method for as.double for matrices, and missed the proper solution in the documentation.



> --Todd

 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e]
 Gower Street, London          [w]
 UK. WC1E 6BT.                 [w]

______________________________________________ mailing list
PLEASE do read the posting guide
and provide commented, minimal, self-contained, reproducible code.
Received on Mon 16 Jun 2008 - 22:10:50 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 16 Jun 2008 - 22:30:51 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive