Forum: help
Monitor Forum | Start New ThreadRE: image() for lgCMatrix ignores some arguments [ Reply ] By: Mstislav Elagin on 2010-10-11 16:23 | [forum:3475] |
forgot sessionInfo() R version 2.11.0 (2010-04-22) 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] grid stats graphics grDevices utils datasets methods [8] base other attached packages: [1] arules_1.0-2 Matrix_0.999375-43 lattice_0.18-8 loaded via a namespace (and not attached): [1] tools_2.11.0 |
image() for lgCMatrix ignores some arguments [ Reply ] By: Mstislav Elagin on 2010-10-11 16:19 | [forum:3474] |
Dear developers, it seems that image() for lgCMatrix ignores at least some arguments. Consider the following code: 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 I expect Same at least with xlab and ylab. Is this a bug or do I miss something? Please help. Thanks in advance! Mstislav Elagin |