Re: using file txt in mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg49417] Re: [mg49414] using file txt in mathematica
- From: jmt <jmt at dxdydz.net>
- Date: Mon, 19 Jul 2004 07:46:06 -0400 (EDT)
- References: <200407181209.IAA25949@smc.vnet.net>
- Reply-to: jmt at dxdydz.net
- Sender: owner-wri-mathgroup at wolfram.com
The operator !! is for displaying file content. If you want to save your data, use >> with no special formatting : a = {1,2,3,4}{5,6,7,8}{9,10,11,12}{13,14,15,16} [ Are you sure you want this ? After evaluation is will give {585, 1680, 3465, 6144} If you want a matrix, write something like : a={{1,2,3,4},{5,6,7,8}, etc. ] This saves the data : a>>"a.txt" Then : a=<<"a.txt" ?a Global`a a={585, 1680, 3465, 6144} On 2004 07 18 14:09, paolo wrote: > a = {1,2,3,4}{5,6,7,8}{9,10,11,12}{13,14,15,16} -- Puissance d'un coton-tige : deux ouates ...
- References:
- using file txt in mathematica
- From: "paolo " <tarpanelli@libero.it>
- using file txt in mathematica