Re: Trying to find exported file, converting table to two column text output
- To: mathgroup at smc.vnet.net
- Subject: [mg77810] Re: Trying to find exported file, converting table to two column text output
- From: "Jean-Marc Gulliet" <jeanmarc.gulliet at gmail.com>
- Date: Sun, 17 Jun 2007 06:07:58 -0400 (EDT)
- References: <a851af150706160757q310895cdg2cfdb5c5756c3c27@mail.gmail.com>
On 6/16/07, Diana Mecum <diana.mecum at gmail.com> wrote: > Jean-Marc > > Per your e-mail, I am trying to use Export to convert a Mathematica table to > a text file. I am not able to find the exported file ? I have a new Windows > Vista computer. > > {4, 5, 10, 11, 3, 79, ...} > > to a two column text file such as: > > 1 4 > 2 5 > 3 10 > 4 11 > 5 3 > 6 79 ... > > Let me use the following example. Assume that I have defined an "r[n_]" > function of arbitrary integers. > > tt = Flatten[Prepend[Table[Numerator[r[n]], {n, 4, 100}], > {1, 1, 5}]] > > tttable = Table[{j, tt[[j]]}, {j, 1, Length[tt]}] > > Export["sequence.txt", tttable] > > I get an output line of "sequence.txt", but then can not find the file. > > I am using Windows Vista, and believe I am searching the whole computer. > > Diana M. > > -- > "God made the integers, all else is the work of man." > L. Kronecker, Jahresber. DMV 2, S. 19. Within Mathematica, evaluate the following expressions and be sure to check the directories. $InstallationDirectory (* Version 5.1 should write the file sequence.txt here by default *) $HomeDirectory $UserBaseDirectory Regards, Jean-Marc