MathGroup Archive 2005

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

Search the Archive

Re: Output to a file

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57029] Re: Output to a file
  • From: "Jens-Peer Kuska" <kuska at informatik.uni-leipzig.de>
  • Date: Thu, 12 May 2005 03:53:09 -0400 (EDT)
  • Organization: Uni Leipzig
  • References: <d5uvbt$9a5$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Export["test.dat",testList,"Table"]
???
Regards
   Jens
"Namrata Khemka" <namrata.khemka at gmail.com> 
schrieb im Newsbeitrag 
news:d5uvbt$9a5$1 at smc.vnet.net...
> Hello,
> I want to write the following list in a file, 
> (and below is what I did)
>
> testList = {{1, 8}, {2, 9}, {3, 10}, {4, 11}, 
> {5, 12}, {6, 13}, {7, 14}};
>
> str = OpenWrite["test.dat"];
>
> Write [str, testList]; Close[str];
>
> test.dat looks like
> {{1, 8}, {2, 9}, {3, 10}, {4, 11}, {5, 12}, {6, 
> 13}, {7, 14}}
>
> But, I want the test.dat to look like:
> 1  8
> 2   9
> 3   10
> 4  11
>
> and so on...
>
> Can anyone give me any suggestions as to how I 
> can accomplish this?
>
> Thanks a lot in advance....
>
> Namrata
> 



  • Prev by Date: Re: ArcTan[1/0] no result, but ArcTan[Infinity] ok. How to resolve?
  • Next by Date: Re: another image problem
  • Previous by thread: Output to a file
  • Next by thread: Re: Output to a file