MathGroup Archive 2005

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

Search the Archive

Re: Save everything

  • To: mathgroup at
  • Subject: [mg61591] Re: Save everything
  • From: David Bailey <dave at>
  • Date: Sun, 23 Oct 2005 05:45:54 -0400 (EDT)
  • References: <djcglh$6hh$>
  • Sender: owner-wri-mathgroup at

Detlef Müller wrote:
> Hello,
> In Mathematica 5.1 I have a notebook, and after some long during
> calculations, I want to save the State of the Kernel.
> This means, later, I want to do Load["everything.dat"] and
> work on.
> The Help says:
> Save["filename", "form"] appends definitions associated with all 
> symbols whose names match the string pattern form.
> But
> Save["everything.dat","_"]
> leads to a file everything.dat with Content
> Attributes[Blank] = {Protected}
> wich of course doesn't contain the Information for
> Restauration.
> Trying to save every context (as I want the
> data from loaded packages stored too, Global`
> was not enough) leads to
> DumpSave["everything.dat","_`"]
> List::cxt: Invalid context specified at position 1 in {_`}.
> A context must consist of valid symbol names separated by and
> ending with `.
> So how to save the whole status?
> Greetings
>    Detlef

DumpSave is a very ancient bit of Mathematica, and I would be a bit wary 
of using it to save valuable data. Such data would certainly not survive 
a software upgrade. I would dump your results explicitly and then read 
them back (together with the various packages) when you want to resume.

David Bailey

  • Prev by Date: Re: Plot problem
  • Next by Date: Re: precision of a measurement (documentation related question)
  • Previous by thread: Re: Save everything
  • Next by thread: tracking precision through ndsolve, findfit, regress, etc