[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"
>
Regards,
Bernd
> 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)
i386-pc-mingw32
locale:
LC_COLLATE=German_Germany.1252;LC_CTYPE=German_Germany.1252;LC_MONETARY=German_Germany.1252;LC_NUMERIC=C;LC_TIME=German_Germany.1252
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