[R] as.numeric(FALSE) fails after loading the Matrix package

Bernd Weiss bernd.weiss at uni-koeln.de
Thu Oct 4 04:47:04 CEST 2007

Dear all,

is this a bug?

> as.numeric(FALSE)
[1] 0
> library(Matrix)
Loading required package: lattice
> as.numeric(FALSE)
Error in UseMethod("as.double") : no applicable method for "as.double"



> version
platform       i386-pc-mingw32
arch           i386
os             mingw32
system         i386, mingw32
status         Patched
major          2
minor          6.0
year           2007
month          10
day            03
svn rev        43072
language       R
version.string R version 2.6.0 Patched (2007-10-03 r43072)
> sessionInfo()
R version 2.6.0 Patched (2007-10-03 r43072)


attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] Matrix_0.999375-2 coda_0.12-1       lattice_0.16-5

loaded via a namespace (and not attached):
[1] grid_2.6.0  tools_2.6.0

More information about the R-help mailing list