Detailed description |
Dear developers,
it seems that image() for lgCMatrix ignores at least some
arguments. Consider the following code:
library(Matrix)
m <- as(matrix(c(TRUE,FALSE,FALSE,TRUE), nr=2), "lgCMatrix")
image(m, sub="foo") ## I expect the subtitle to be 'foo', but it is not!
image(as(m, "dgCMatrix"), sub="foo") ## subtitle is "foo" as it should be
Same at least with xlab and ylab.
Is this a bug or do I miss something? Please help. Thanks in advance!
Mstislav Elagin
sessionInfo()
R version 2.11.1 (2010-05-31)
i386-pc-mingw32
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252
[3] LC_MONETARY=German_Germany.1252 LC_NUMERIC=C
[5] LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] Matrix_0.999375-39 lattice_0.18-8
loaded via a namespace (and not attached):
[1] grid_2.11.1 tools_2.11.1 |
|