MathGroup Archive 1999

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

Search the Archive

Re: Is there a FAQ? (Clear all)

  • To: mathgroup at
  • Subject: [mg18739] Re: Is there a FAQ? (Clear all)
  • From: Murray Eisenberg <murray at>
  • Date: Sat, 17 Jul 1999 02:36:52 -0400
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <7mjv38$>
  • Sender: owner-wri-mathgroup at

To clear out just definitions you have made yourself in the session, and
to restart the In/Out tag numbering, you could use the package
ClearAll.m, whose contents are as follows:

Unprotect[Out]; Clear[Out]; Protect[Out];
Unprotect[In]; Clear[In]; Protect[In];
Print["All Global`* and In and Out cleared!"]

(Sorry, I cannot recall the source or author of this package.  Put this
in a file ClearAll.m in the AddOns\Applications directory, say.

For something more drastic, which will clear out all created context and
packages, etc., loaded into such contexts, you could use the the menu

  Kernel > Quit Kernel 

  Kernel > Start Kernel
This is definitely faster than using Quit and then restarting the entire
Mathematica Front End.

Jos Bergervoet wrote:
> 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 :-)
> Greetings,
> Jos
> --
>   Dr. Jozef R. Bergervoet                      Electromagnetism and EMC
>   Philips Research Laboratories,             Eindhoven, The Netherlands
>   Building WS01                                     FAX: +31-40-2742224
>   E-mail: bergervo at    Phone: +31-40-2742403

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.       phone 413 549-1020 (H)
Univ. of Massachusetts                     413 545-2859 (W)
Amherst, MA 01003-4515

  • Prev by Date: Re: Rudimentary Spell Checker
  • Next by Date: Re: NSolve with varying parameter
  • Previous by thread: Re: Is there a FAQ? (Clear all)
  • Next by thread: Re: Is there a FAQ? (Clear all)