RE: "Freezing" evaluation Output?
- To: mathgroup at smc.vnet.net
- Subject: [mg68901] RE: [mg68858] "Freezing" evaluation Output?
- From: "Ingolf Dahl" <ingolf.dahl at telia.com>
- Date: Tue, 22 Aug 2006 05:20:52 -0400 (EDT)
- Sender: owner-wri-mathgroup at wolfram.com
Hi AES, Here is an alternative to the answers you have obtained so far: Download my TaggedCells package from http://web.telia.com/~u31815170/Mathematica/. It is ideal for this purpose. Install the package and enter then Needs["TaggedCells`"] i=1; ExpressionToTaggedCell[i*i,"Output","Result "<>ToString[i++]]; Evaluate the last command several times, and the output will appear in reverse order below. As long as the celltags (the third argument above) are unique, no cell will be overwrittn. You can enter your expression instead of i*i. If the output is graphics, you might instead use the following example Needs["TaggedCells`"] i=1; ShowToTaggedCell[Plot[x^i,{x,0.,1.},DisplayFunction->Identity],"Myplot "<>ToString[i++]]; Again, evaluate the last command several times. If you want the output in forward order, you might write it to another notebook. Assume that "Untitled-2" is an open notebook. Use ShowToTaggedCell[Plot[x^i,{x,0.,1.},DisplayFunction->Identity],"Myplot "<>ToString[i++], TargetNotebook->"Untitled-2"]; Best regards Ingolf Dahl > -----Original Message----- > From: AES [mailto:siegman at stanford.edu] To: mathgroup at smc.vnet.net > Subject: [mg68901] [mg68858] "Freezing" evaluation Output? > > [I hope people will pardon the ongoing barrage of perhaps > absurd questions I keep posting; the answers are appreciated, > and sometimes even useful.] > > Is there any simple programmable way to "freeze" the Output > from the evaluation of an Input cell, so that subsequent > reevaluation of the Input cell doesn't end by erasing the > previous output? > > E.g., I evaluate a plotting routine that takes a long time to > do all its calculations, and I want to be sure I keep the > resulting graphic around until I'm ready to delete it. > > I appreciate there are simple ways to do this "manually": > > 1) Insert (by hand) a dummy text cell between the Input and > Output cells. > > 2) Export the Output to somewhere else, with a file name > that contains an execution-time-dependent string. > > 3) Other similar approaches requiring "operator intervention". > > But is there an execution (or output) option for Input cells > (or for individual commands) that says, "Don't replace > previous output, even if it's still there"? >