Re: Is there a FAQ? (Clear all)
- To: mathgroup at smc.vnet.net
- Subject: [mg18728] Re: Is there a FAQ? (Clear all)
- From: paulh at wolfram.com (P.J. Hinton)
- Date: Sat, 17 Jul 1999 02:36:45 -0400
- Organization: Wolfram Research, Inc.
- References: <7mjv38$fni@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
In article <7mjv38$fni at smc.vnet.net>, Jos Bergervoet <bergervo at iaehv.iae.nl> writes:
> I would like to use a command like 'restart' in Mathematica.
>
> But: neither Restart nor Clear["*"] does what I want (it should be
> as if I quit and restart!) Is there a Mathematica FAQ? Or does anyone
> know how to do a quick restart? The help function on my system seems
> to work with CD roms in the background somewhere. I can't wait for
> that long :-)
In Mathematica 3.0 and 4, there is a package, Utilities`CleanSlate`,
which accomplishes what you're describing. You can find the package
in
ToFileName[{$TopDirectory, "AddOns", "ExtraPackages", "Utilities"}]
The documentation for the package is contained within the comments
in the .m file. N.B. the warning in the header of the package.
(* :Warning:
CleanSlate might be considered a "dangerous" function, given what
it tries to do. Although it is well-tested, use it at your own
risk.
*)
--
P.J. Hinton
Mathematica Programming Group paulh at wolfram.com
Wolfram Research, Inc.
Disclaimer: Opinions expressed herein are those of the author alone.