Re: Cutting and pasting table to ascii file
- To: mathgroup at smc.vnet.net
- Subject: [mg21156] Re: Cutting and pasting table to ascii file
- From: "Atul Sharma" <atulksharma at yahoo.com>
- Date: Fri, 17 Dec 1999 01:22:25 -0500 (EST)
- References: <831u11$ftl@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
With 4.0, use Export[savename, data, "Table"]
A.S.
Joel Cannon wrote in message <831u11$ftl at smc.vnet.net>...
>Hi:
>
>I have been trying to paste a table from a notebook to an ascii
>file. I am using Mathematica 4.0. In older versions, I could
>display a 2-d list using TableForm, highlight the table and paste the
>table into a text file and it would paste as nice columns of
>data.
>
>Right now I am attempting this and find that all the formatting
>symbols are being pasted into the text as well like what is shown
>below. I am using unix and pasting into a text file which I am
>editting with emacs. In the past I was also working on other computers
>(still unix and X) so that might possibly be part of the difference.
>
>\!\(\*
> TagBox[GridBox[{
> {\(a[1, 1]\), \(a[1, 2]\)},
> {\(a[2, 1]\), \(a[2, 2]\)}
> },
> RowSpacings->1,
> ColumnSpacings->3,
> RowAlignments->Baseline,
> ColumnAlignments->{Left}],
> (TableForm[ #]&)]\) #!
>
>Thanks for any help anyone can provide.
>
>---------------------------------------------------------------------------
---
>Joel W. Cannon | (724)223-6146
>Physics Department |
>Washington and Jefferson College |
>Washington, PA 15301 |
>
>
>
>