Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

Re: Help with formatting output

  • To: mathgroup at
  • Subject: [mg77760] Re: Help with formatting output
  • From: Diana <diana.mecum at>
  • Date: Sat, 16 Jun 2007 03:27:25 -0400 (EDT)
  • References: <><f4tip7$fdi$>

Thanks to all who have given suggestions to this post.


Yes, I am trying to get just two columns of text numbers, which can be
pasted into a text file with just one space between the columns.

I have tried to create the text file, per your post. "aa" is my list.

In[1]:= lst = aa;
Export["myFile.txt", MapIndexed[StringJoin[ToString[#2[[1]]], " ",
          ToString[#1]] & , lst], "Lines"]

I see a message:

SetDelayed::write : Tag In in In[1] is Protexted.

Out[12779]= myFile.txt

Out[12780]= FilePrint[myFile.txt]

I am not finding "myFile.txt" when I search for it.


  • Prev by Date: FFT of the piecewise step function
  • Next by Date: Re: Re: Problems updating Graphics3D Polygons
  • Previous by thread: Re: Help with formatting output
  • Next by thread: Re: Help with formatting output