Could someone please approve this message? Thanks!

On Thu, Dec 27, 2012 at 4:38 PM, Brad Cox <bradjcox@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)
>
>
>


-- 
Guns kill people... the way forks make people fat.
Dr. Brad J. Cox    Cell: 703-594-1883
Blog: http://bradjcox.blogspot.com    Web: http://virtualschool.edu

	[[alternative HTML version deleted]]


