MathGroup Archive 2010

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

Search the Archive

Re: Save a notebook state

  • To: mathgroup at smc.vnet.net
  • Subject: [mg111590] Re: Save a notebook state
  • From: "slawek" <slawek at host.pl>
  • Date: Fri, 6 Aug 2010 06:58:34 -0400 (EDT)
  • References: <i3e5hm$h9a$1@smc.vnet.net>

U=BFytkownik "David Park" <djmpark at comcast.net> napisa=B3 w wiadomo=B6cigrup
dyskusyjnych:i3e5hm$h9a$1 at smc.vnet.net...
> Why not add two Sections to your notebook.
>
> 1) Long Calculations would contain the calculations that take a long time.
> Presumably this would be evaluated only once, but sometimes you might want
> to go back, modify and recalculate. If you have x = longCalculation[...]
> then immediately redefine x to be the output, perhaps by writing x = and
> using Shift+Ctrl+L to get the previous output. The cells in this Section
> would not be Initialization cells.

DumpSave["NotebookName.mx","Global`"]

and

<< "NotebookName.mx"

do the job. All variables (except maybe %, %13, Out[13] etc.) are restored.

Thanks for help, anyway.

slawek




  • Prev by Date: BinLists in Array
  • Next by Date: Nonlinear fitting question
  • Previous by thread: Re: Save a notebook state
  • Next by thread: Re: Save a notebook state