MathGroup Archive 2001

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

Search the Archive

Re: export & import an expr

  • To: mathgroup at smc.vnet.net
  • Subject: [mg29340] Re: export & import an expr
  • From: Tom Burton <tburton at cts.com>
  • Date: Thu, 14 Jun 2001 02:27:19 -0400 (EDT)
  • Organization: Brahea Consulting
  • References: <9g73t5$cej$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hello,

Instead of "Put...", do

Save["file.dat", m]

Then the contents of "file.dat" are

In[8]:=
!!test.dat
m = <contents of matrix>

Note the assignment to m. Then, later,

Get["test.dat"];

will of course assign to m. Use the semicolon above to avoid the display of the retrieved matrix.

On Wed, 13 Jun 2001 07:14:45 +0000 (UTC), in comp.soft-sys.math.mathematica you wrote:

>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]

Tom


  • Prev by Date: Truth in inequalities
  • Next by Date: Re: how to get an assignment from a rule ?
  • Previous by thread: export & import an expr
  • Next by thread: Re: export & import an expr