Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1997
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1997

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

Search the Archive

Re: recovering from forgetfulness

  • To: mathgroup at smc.vnet.net
  • Subject: [mg7779] Re: [mg7759] recovering from forgetfulness
  • From: Richard Gass <gass at physics.uc.edu>
  • Date: Tue, 8 Jul 1997 22:40:58 -0400
  • Sender: owner-wri-mathgroup at wolfram.com

Michael wrote
>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

Michael,
You can use Remove. Try
Remove[ImplicitPlot]
This will remove the symbol in the global context and will fix the
shadowing probelms.
Make sure that you do not run Remove twice on the same symbol or you will
remove it both contexts and this is hard to recover from.



Richard Gass
Department of Physics
University of Cincinnati
Cincinnati, OH 45221
phone- 513-556-0519
E-Mail gass at physunc.uc.edu




  • Prev by Date: Re: Limits
  • Next by Date: Re: Package for Blockmatrices
  • Previous by thread: Re: recovering from forgetfulness
  • Next by thread: Re: recovering from forgetfulness