MathGroup Archive 1993

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

Search the Archive

re: Sending data to a file


in message <9304260436.AA28623 at yoda.physics.unc.edu> David Deutsch writes:
 
> data = {{1,2},{2,5},{3,-2},{4,7}}
>
>
> How can I write this data to file so that in the file it has the
> following form:
>
>   1  2
>   2  5
>   3 -2
>   4  7
 
OutputForm[ TableForm[ data,
      TableAlignments->{Top,Right},
      TableSpacing->{0,1}
   ]
] >> "dataFile"
 
should do just what you want.
 
Roland Jakschewitz
 
------------------------------------------------------------------------
  RL  Jakschewitz
    Geuderstr. 7                       AppleLink:  GER.XSE0027
D-8500 NUERNBERG 20                    Tel:        +49 - 911 - 26 13 13
      Germany                          UUCP:       rlj-nbg at infohh.rmi.de
------------------------------------------------------------------------
 






  • Prev by Date: Re: Compile AND Remember
  • Next by Date: re: Sending data to a file
  • Previous by thread: Re: Sending data to a file
  • Next by thread: re: Sending data to a file