SCM

[#1134] image() for lgCMatrix ignores arguments

Date:
2010-10-14 09:37
Priority:
3
State:
Closed
Submitted by:
Mstislav Elagin (m_elagin)
Assigned to:
Martin Maechler (mmaechler)
Hardware:
All
Product:
None
Operating System:
All
Component:
None
Version:
None
Severity:
None
Resolution:
Fixed
URL:
Summary:
image() for lgCMatrix ignores arguments

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

Comments:

Message  ↓
Date: 2015-05-11 14:01
Sender: Martin Maechler

The fix was quite obvious and simple. Committed to R-forge now, as
svn revision 3109

Date: 2015-05-11 13:14
Sender: Martin Maechler

Moved from Support to Bugs

Date: 2015-05-11 13:14
Sender: Martin Maechler

I'm sorry this has never been dealt with, even though it is easy to fix.

Should be fixed in the next version of Matrix, 1.2-1

Attached Files:

Changes

Field Old Value Date By
status_idOpen2015-05-11 14:01mmaechler
close_dateNone2015-05-11 14:01mmaechler
ResolutionNone2015-05-11 14:01mmaechler
assigned_tonone2015-05-11 13:14mmaechler
typeSupport2015-05-11 13:14mmaechler
Thanks to:
Vienna University of Economics and Business Powered By FusionForge