Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.soft-sys.math.mathematica > #12021

Re: Clearing all variables and definitions: i.e. "resetting" mathematica

From Bill Rowe <readnews@sbcglobal.net>
Newsgroups comp.soft-sys.math.mathematica
Subject Re: Clearing all variables and definitions: i.e. "resetting" mathematica
Date 2012-10-10 04:34 +0000
Message-ID <k52tt6$8a0$1@smc.vnet.net> (permalink)
Organization Time-Warner Telecom

Show all headers | View raw


On 10/8/12 at 10:23 AM, murray@math.umass.edu (Murray Eisenberg)
wrote:

>On Oct 8, 2012, at 2:32 AM, Bill Rowe <readnews@sbcglobal.net>
>wrote:

>>An alternative would be to force loading of the Paclet manager.
>>That is at the end of my init.m file I have

>><<PacletManager`; <<Utilities`CleanSlate`;
>>SetOptions[CleanSlate,Verbose->False];

>>This way I don't need to add anything to the top of a notebook when
>>I start a session.

>Please explain the reason for the force-loading of Paclet manager
>there!

I made this change for the version of Mathematica that first
implemented the Paclet manager. At that time, I found the Paclet
manager loaded after everything in init.m executed. Without
forcing the Paclet manager to load, CleanSlate would load first
and executing CleanSlate[] in a session would clear the Paclet
manager. Forcing the Paclet manager to load first precludes this problem.

Note, since this solved the specific problem above and doesn't
seem to cause any side issues, I've not taken the trouble to
determine if the same behavior (i.e., the Paclet manager loading
after execution of init.m functions) persists in version 8. But
based on the post from dr DanW, I surmise the behavior is still
present in version 8.

Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread


Thread

Re: Clearing all variables and definitions: i.e. "resetting" mathematica Bill Rowe <readnews@sbcglobal.net> - 2012-10-10 04:34 +0000

csiph-web