MathGroup Archive 1998

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: output to a file



Nilay Saha wrote:
>  I have a mathematica program which outputs a set of sets of
> parameteres. I wish to write the output to a data file so that I can
> manipulate it .

For output like 
data = {{a1,b1,c1},{a2,b2,c2} .... }

Write["filename", data]

may be what you need.

This will write in InputForm

Other formating can be used, for example,

Write["filename",  OutputFormat[MatrixFrom[data]]] -- 
Allan Hayes
Mathematica Training and Consulting
Leicester, UK
hay@haystack.demon.co.uk
http://www.haystack.demon.co.uk
voice: +44 (0)116 271 4198
fax: +44 (0)116 271 8642




  • Prev by Date: Re: Problem: install on HPUX
  • Next by Date: Re: Error Bars
  • Prev by thread: Re: output to a file
  • Next by thread: Administration: Attaching notebooks and graphics files