MathGroup Archive 2009

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

Search the Archive

Re: Strange behavior with loading Experimental package

  • To: mathgroup at smc.vnet.net
  • Subject: [mg105004] Re: Strange behavior with loading Experimental package
  • From: "Nasser M. Abbasi" <nma at 12000.org>
  • Date: Tue, 17 Nov 2009 05:16:01 -0500 (EST)

ref (me)

I found out that if I use CleanSlate[] then this problem does not show 
up any more. So I am using this package now to remove packages. So, case 
closed. One should always use CleanSlate!

<< "Utilities`CleanSlate`"
SetOptions[CleanSlate, Verbose -> False];
<< "Experimental`";
Names["Experimental`*"]

CleanSlate["Experimental`"];

<< "Experimental`";
Names["Experimental`*"] ----> OK now, symbols are reloaded ok.

--Nasser
  "Nasser M. Abbasi" <nma at 12000.org> wrote in message news:...
  Version 7.0, on windows.

  I load this package using Get (not Needs), then remove all its 
symbols, then do Get again on it, but the symbols in this package do not 
reappear as expected

  In[1]:= << "Experimental`"
  Names["Experimental`*"]

  Out[2]= { ...}

  In[3]:= Unprotect["Experimental`*"]
  Remove["Experimental`*"]
  Out[3]= {...}

  In[6]:= << "Experimental`"
  Names["Experimental`*"]
  Out[7]= {}   <--- EMPTY !


  But look at another package picked by random, it behaves as expected


  In[9]:= << "ANOVA`"
  Names["ANOVA`*"]
  Out[10]= {...}

  In[11]:= Unprotect["ANOVA`*"]
  Remove["ANOVA`*"]
  Out[11]= {....}

  In[13]:= << "ANOVA`"
  Names["ANOVA`*"]
  Out[14]= {....}   <--- OK, not empty


  I know, I know, it is called "Expriemental" so should not complain, 
but thought to point it out just the same as it was affecting something 
I am doing...

  --Nasser


  • Prev by Date: Re: Text on a curve,
  • Next by Date: Re: Re: Non-Linear pendulum
  • Previous by thread: Strange behavior with loading Experimental package
  • Next by thread: Re: Re: Strange behavior with loading Experimental package