SCM

[#6733] Dimnames not stored in writeMM

Date:
2021-07-08 12:47
Priority:
3
State:
Closed
Submitted by:
Qiang Zhang (qzhang503)
Assigned to:
Nobody (None)
Hardware:
None
Product:
None
Operating System:
None
Component:
None
Version:
None
Severity:
None
Resolution:
Won't Fix
URL:
Summary:
Dimnames not stored in writeMM

Detailed description
data(KNex)

Mat <- KNex$mm
colnames(Mat) <- seq_len(ncol(Mat))
rownames(Mat) <- seq_len(nrow(Mat))
Mat@Dimnames

MMfile <- file.path(tempdir(), "mmMM.mtx")
writeMM(KNex$mm, file=MMfile)

Mat2 <- readMM(MMfile)
Mat2@Dimnames

Comments:

Message  ↓
Date: 2021-12-08 17:20
Sender: Martin Maechler

Yes, the MatrixMarket format does not know the concept of row and column names.
So this cannot be fixed (but should be documented).

Attached Files:

Changes

Field Old Value Date By
status_idOpen2021-12-08 17:20mmaechler
close_dateNone2021-12-08 17:20mmaechler
ResolutionNone2021-12-08 17:20mmaechler
Thanks to:
Vienna University of Economics and Business Powered By FusionForge