MathGroup Archive 2002

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

Search the Archive

RE: Unloading packages

  • To: mathgroup at smc.vnet.net
  • Subject: [mg32551] RE: [mg32528] Unloading packages
  • From: "David Park" <djmp at earthlink.net>
  • Date: Sat, 26 Jan 2002 04:08:18 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Sseziwa,

Near the end of the package you will probably see a Protect statement which
protects all the routine names against redefinition. Temporarily change that
cell so that it is not an initialization cell. Or if you are working with a
.m file, comment that statement out. Then you should be able to read in the
package again without all the error messages. When you finish, change the
statement back.

David Park
djmp at earthlink.net
http://home.earthlink.net/~djmp/

> From: Sseziwa Mukasa [mailto:mukasa at jeol.com]
To: mathgroup at smc.vnet.net
>
> Is is possible to unload packages or have the functions therein be
> reread from the source file every time the source changes?  I have a
> package that I am modifying and unfortunately I am introducing errors.
> When I fix the errors though I cannot reload the package so I have to
> quit and restart the kernel.  Hardly elegant by any measure.
>
> Thanks in advance,
>
> --
> Sseziwa Mukasa            Business phone  (direct) : (978) 536-2359
> JEOL USA INC                            (operator) : (978) 535-5900
> 1 Intercontinental Way
> Peabody, MA 01960         email: mukasa at jeol.com
> USA
>
>
>
>



  • Prev by Date: RE: Indents, paragraphs, etc.
  • Next by Date: Arbitrary selection of a particular cube root of a negative number
  • Previous by thread: Re: Unloading packages
  • Next by thread: Re: Unloading packages