Hello,

I have a file "x.mtx" stored as a array format MatrixMarket file.

The header says "%%MatrixMarket matrix array real general"

However when I do readMM("x.mtx"), it raises an error saying Error in
scan(file, what, nmax, sep, dec, quote, skip, nlines, na.strings,  :
  scan() expected 'an integer', got '-8.1977721447407614e-01'

which means that it expects the coordinate matrix format. Is this a bug? or
am I doing something wrong? since I expect the MatrixMarket format to
handle both formats of data.

Thanks

-- 
Godspeed,
Manoj Kumar,
Intern, Telecom ParisTech
Mech Undergrad
http://manojbits.wordpress.com

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to