An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121227/c78dedcf/attachment.pl>
Help reading matrixmarket files
5 messages · Brad Cox, Uwe Ligges
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121228/a07a7d2a/attachment.pl>
On 28.12.2012 17:28, Brad Cox wrote:
Could someone please approve this message? Thanks!
Approve?
On Thu, Dec 27, 2012 at 4:38 PM, Brad Cox <bradjcox at gmail.com> wrote:
I'm trying to read data a program produces in matrixmarket array format into R and its giving me fits. I've tried read.MM (below) and readMM (from the Matrix package) but neither works. One of them says array format isn't supported, the other reports something indecipherable about Fortran. Here's the file contents. Can't get much simpler than that! %%MatrixMarket matrix array real general
%This file contains LIBFM global mean which is required for computing predictions. 1 1 1.786238830716e-02
Can someone please help? Seems such a simple problem.
library(spam)
Spam version 0.29-2 (2012-08-17) is loaded.
Type 'help( Spam)' or 'demo( spam)' for a short introduction
and overview of this package.
Help for individual functions is also obtained by adding the
suffix '.spam' to the function name, e.g. 'help( chol.spam)'.
Attaching package: ???spam???
The following object(s) are masked from ???package:base???:
backsolve, forwardsolve
x=read.MM("/Users/brad/Dropbox/graphchi/2008.csv_global_mean.mm")
Error in read.MM("/Users/brad/Dropbox/graphchi/2008.csv_global_mean.mm")
:
invalid mode (list) to pass to Fortran (arg 8)
If read.MM does not work and you are sure about the file location and it is in the right format, send an example file that reproduced the error to the maintainer of the package with the broken import function (or right away patched version of the broken function). Uwe Ligges
______________________________________________ R-help at 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.
An embedded and charset-unspecified text was scrubbed... Name: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20121228/8b911a1d/attachment.pl>
On 28.12.2012 19:49, Brad Cox wrote:
On Fri, Dec 28, 2012 at 11:47 AM, Uwe Ligges
<ligges at statistik.tu-dortmund.de
<mailto:ligges at statistik.tu-dortmund.de>> wrote:
Approve?
Isn't it still being queued for approval? Can't tell from this end.
Your mail to 'R-help' with the subject
Help reading matrixmarket files
Is being held until the list moderator can review it for approval.
The reason it is being held:
Post to moderated list
The approval happened before, obviously, if you were not on the list yourself. There is no need to ask for that separately and generate even more traffic. Best, Uwe Ligges