Input a data file?



Robert Jerrard wrote:

> Hello All, I am new to maxima and would like to read a data file to work with
> records which typically look like 
> 
> A 65 0 0 75 
> B 10 55 60 0 
> etc
I suggest you use an editor and convert your file to

A: [64, 0, 0, 75]$

or perhaps
M: [[64, 0,0,75],
      [10,55,...],..]

If the file is called FF,  then  batch("FF");
will read it in.


etc.
> 
> I want to be able to find average values for rows and columns separately for the
> letter entry and for the entire file. I have seen information in the list
> archives refering to numericalio.lisp but do not know how to use it and assume
> it is not in the version of maxima that I have:
> 
> bob@mymachine:~$ xmaxima --version
> GCL (GNU Common Lisp)  2.6.2 CLtL1   Jun 29 2004 18:53:13
> bob@mymachine:~$ maxima --version
> Maxima 5.9.0
> 
> I take it that numericalio.lisp is not in this version since
> load("numericalio.lisp")$ produces:
> 
>