MathGroup Archive 2006

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

Search the Archive

Re: Beginner--Exporting formatted text files

  • To: mathgroup at smc.vnet.net
  • Subject: [mg63872] Re: Beginner--Exporting formatted text files
  • From: BGHEkaya at gmail.com
  • Date: Fri, 20 Jan 2006 04:32:25 -0500 (EST)
  • References: <dqn7rc$l83$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Try the following,

data2 = Table[ToString[PaddedForm[Random[], {6, 2}]], {5}, {5}];
head = Map[StringForm["  `` ", #] &, {"Col. 1;", "Col. 2;", "Col. 3;",
"Col.
    4;", "Col. 5;"}];
data3 = TableForm[Prepend[data2, head]];
Export["/Users/brian/Desktop/data3.txt", data3]

Cheers,

Brian


  • Prev by Date: GUIKit - Number of digits
  • Next by Date: Re: Beginner--Exporting formatted text files
  • Previous by thread: Beginner--Exporting formatted text files
  • Next by thread: Re: Beginner--Exporting formatted text files