MathGroup Archive 2010

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

Search the Archive

Re: Save a notebook state


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