Re: writing mathematica list to a file

*To*: mathgroup at smc.vnet.net*Subject*: [mg14934] Re: [mg14921] writing mathematica list to a file*From*: Jurgen Tischer <jtischer at col2.telecom.com.co>*Date*: Fri, 27 Nov 1998 03:49:31 -0500*Organization*: Universidad del Valle*References*: <199811252248.RAA26529@smc.vnet.net.>*Sender*: owner-wri-mathgroup at wolfram.com

Hi Violeta, tt=Table[ { i , i^2 } , { i , 1 , 6 } ]; str=OpenWrite["test.dat"]; WriteString[str,PaddedForm[TableForm[tt],7]]; Close[str]; I added the PaddedForm to have the numbers right aligned, you may want it another way. Jurgen Violeta Gotchev wrote: > > Can someone tell me how to write a list created with mathematica (for > example: Table[ { i , i^2 } , { i , 1 , 6 } ] ) to a file where > the data is in two columns without other symbols? Thanks, > Violeta

**References**:**writing mathematica list to a file***From:*"Orlin & Violeta Gotchev" <ogotche1@rochester.rr.com>