MathGroup Archive 1999

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

Search the Archive

Re: 2D list of lists to delimited text?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg16694] Re: 2D list of lists to delimited text?
  • From: Emmanuel.Peccoud at e-notebooks.com (Emmanuel Peccoud)
  • Date: Sat, 20 Mar 1999 02:09:04 -0500
  • Organization: e-NoteBooks Ltd.
  • References: <7ct6u7$8a6@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

David P. Johnson <johnson at ae.msstate.edu> wrote:

> I am trying to convert a 2D list to delimited text. For instance, I
> want to convert
> 
>   {{x1,y1},{x2,y2},...,{xn,yn}}
> 
> to 
> 
>   x1,y1
>   x2,y2
>    ...
>   xn,yn
> 
> Any eaxy way to do this?


-- 
Here is a proposal:

l=Table[Random[], {10},{10}];
textfile=OpenWrite["ll.txt", FormatType->OutputForm, PageWidth->200];
Write[textfile, TableForm[l]]
Close at textfile
!!"ll.txt"
___________________________________
Keep your data electronic with 
Mathematica Link for LabVIEW
Visit e-NoteBooks at http://www.e-notebooks.com


  • Prev by Date: Re: Importing PostScript files
  • Next by Date: Re: Convert 2D list to delimited text?
  • Previous by thread: 2D list of lists to delimited text?
  • Next by thread: Autoloading Notation Definitions