MathGroup Archive 1997

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

Search the Archive

Re: recovering from forgetfulness

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7794] Re: [mg7759] recovering from forgetfulness
  • From: Luci Ellis <elisha at dot.net.au>
  • Date: Tue, 8 Jul 1997 22:41:08 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

If you haven't accidentally already evaluated too many expressions with
unloaded function names in them, you can use:

Remove[ImplicitPlot]

If you forgot to load the package, evaluated the expression, slapped your
forehead, loaded the package and got the shadowing message, try:

Remove[`Global`ImplicitPlot]
       ^
       |
not sure if this first ` mark should be there, I'm doing this from memory.

Mma thinks of the erroneous symbol as Global`whatever and the symbol in the
package as PackageGroup`PackageName`whatever, so you need to indicate which
one you mean to remove.

Hope this helps.

Luci

>Is there a way in Mathematica to recover from forgetting to include a
>package?  For example, I type:
>
>ImplicitPlot[x^2+y^2==1,{x,-1,1}]
>
>and Mathematica returns the same thing back.  So I go, "Ooops, I forgot
>to load a package."  So I type:
>
><<Graphics`ImplicitPlot`
>
>but instead of being all nice and good this gives me errors like:
>
>Set::write:Tag ImplicitPlot in Options[ImplicitPlot] is Protected.
>
>Clear[ImplicitPlot] does not help.  Even after trying to load
>ImplicitPlot, I am still stuck with an expression that just evaluates to
>itself.
>
>Is there any way to reset Mathematica without quitting even the kernel?
>
>Thanks,
>
>Michael
>michael at qni.com


--------------
Luci Ellis:  elisha at dot.net.au
http://www.dot.net.au/~elisha




  • Prev by Date: Question on Positive[x]=True
  • Next by Date: Q: Help on Plotting with Mathematica
  • Previous by thread: Re: recovering from forgetfulness
  • Next by thread: Re: recovering from forgetfulness