Re: output to a file
- To: mathgroup@smc.vnet.net
- Subject: [mg10896] Re: output to a file
- From: Allan Hayes <hay@haystack.demon.co.uk>
- Date: Thu, 12 Feb 1998 20:15:29 -0500
- References: <6brkft$lqs$1@dragonfly.wolfram.com>
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