MathGroup Archive 1995

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

Search the Archive

Re: Calling functions before loading the package


In article <3mabrd$l0r at news0.cybernetics.net> Gottfried Mayer-Kress  
<gmk at pegasos.ccsr.uiuc.edu> writes:
> This is an old problem that keeps coming up for me:
> 
> I want to use a function like "Mean" from the statistics package but I forget 
> to load the package first. Now the dummy expression "Mean" obscures all
> operations. The only solution I am aware of is to kill the kernel and start all 
> over again. There must be a more elegant solution...
> 
> Thanks for the patience,
> ---
> 
You can do this with the command:
Remove["Mean"];

Remove[] removes a symbol completely so that it is not recognized by Mma.  I'm not  
sure why the quotes are needed but I think they are. Try it with and without and  
see the results. 

This is something I did often as well. 
--
Chris E. Forest
    
forest at ananke.mit.edu


  • Prev by Date: Adding options to built-in functions
  • Next by Date: Re: Word - Mathematica connection
  • Previous by thread: Calling functions before loading the package
  • Next by thread: Re: Calling functions before loading the package