MathGroup Archive 2005

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

Search the Archive

Re: Save everything

  • To: mathgroup at smc.vnet.net
  • Subject: [mg61586] Re: [mg61548] Save everything
  • From: Christopher Purcell <christopherpurcell at mac.com>
  • Date: Sun, 23 Oct 2005 05:45:50 -0400 (EDT)
  • References: <200510220435.AAA06228@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

There is a FAQ on this at the math wiki site:

http://www.mathematica-users.org/webMathematica/wiki/wiki.jsp? 
pageName=FAQ_Saving_your_work

and the exec summary of this is to use something like:

DumpSave["memorydump.mx",Evaluate[Contexts[]]];

and restore the memory with

Get["memorydump.mx"].

All the best,
christopherpurcell at mac.com


On Oct 22, 2005, at 1:35 AM, 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
>
>


  • References:
  • Prev by Date: [no subject]
  • Next by Date: Re: Plot problem
  • Previous by thread: Save everything
  • Next by thread: Re: Save everything