Re: export & import an expr
- To: mathgroup at smc.vnet.net
- Subject: [mg29349] Re: export & import an expr
- From: "Allan Hayes" <hay at haystack.demon.co.uk>
- Date: Thu, 14 Jun 2001 02:27:26 -0400 (EDT)
- References: <9g73t5$cej$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Umud,
Use Save instead of Put?
m= {{1,2},{3,4}};
Save["tmp",m]
Clear[m]
Get["tmp"];
m
{{1,2},{3,4}}
--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565
<umud.ozturk at arcelik.com.tr> wrote in message
news:9g73t5$cej$1 at smc.vnet.net...
> Hi,
> I have a large matrix "m" that takes time to form it. Therefore I want to
> store it in a data file by such a command,
> Put[m,file.dat]
>
> Then when I want to use it in a new notebook,
> Get[m,file.dat]
>
> But I did not succeed to make operation using "m" variables. The m symbol
> was not assigned to the matrix. Since I don't want to display that large
> matrix after getting it, I prefer to use it by a symbol "m".
>
> It takes lots of time to try it with such a large matrix.
> Do you have any idea?
> Thanks lot.
> Umud.
>