MathGroup Archive 2006

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

Search the Archive

Re: Re: "unload" a package

  • To: mathgroup at
  • Subject: [mg70861] Re: [mg70836] Re: "unload" a package
  • From: Murray Eisenberg <murray at>
  • Date: Mon, 30 Oct 2006 05:32:22 -0500 (EST)
  • Organization: Mathematics & Statistics, Univ. of Mass./Amherst
  • References: <>
  • Reply-to: murray at

I believe there is a "catch" to using CleanSlate:  You have to remember 
to load it BEFORE loading the package(s) that you now want to, in 
effect, unload.

Unfortunately, one only realizes too late that you need to unload a 
package, so you didn't anticipate that need and didn't already load 

The function CleanSlate[] does, though, allow some fine control over 
what gets unloaded:  optionally you can specify the contexts you want to 
unload.  Or, using CleanSlateExcept, you can unload everything except 
what's in the contexts you specify.

Bill Rowe wrote:
> On 10/28/06 at 5:21 AM, dimmechan at (dimitris) wrote:
>> I wondered how someone can "UNLOAD" a package without "kill" the
>> Kernel?
>> That is, is there a command that does the opposite of Get or Needs?
> The CleanSlate package found at
> <>
> is quite useful for this purpose
> --
> To reply via email subtract one hundred and four

Murray Eisenberg                     murray at
Mathematics & Statistics Dept.
Lederle Graduate Research Tower      phone 413 549-1020 (H)
University of Massachusetts                413 545-2859 (W)
710 North Pleasant Street            fax   413 545-1801
Amherst, MA 01003-9305

  • Prev by Date: RE: Labelled ticks at the origin
  • Next by Date: Re: Re: Searching for a function
  • Previous by thread: Re: "unload" a package
  • Next by thread: Re: "unload" a package