Re: Clearing all variables and definitions: i.e. "resetting" mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg128347] Re: Clearing all variables and definitions: i.e. "resetting" mathematica
- From: Murray Eisenberg <murray at math.umass.edu>
- Date: Tue, 9 Oct 2012 00:36:07 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
- References: <20121008063204.87D886873@smc.vnet.net>
On Oct 8, 2012, at 2:32 AM, Bill Rowe <readnews at sbcglobal.net> wrote:
> On 10/7/12 at 1:31 AM, dmaxwarren at gmail.com (dr DanW) wrote:
>
>> There are caveats to using CleanSlate in your init.m file in version
>> 6+ since the Paclet manager gets loaded after init.m. Put the line:
>
>> DeclarePackage["Utilities`CleanSlate`",{"CleanSlate"}];
>
>> in your init.m, and put the line
>
>> CleanSlate[Verbose->False];
>
>> at the top of your notebooks. DeclarePackage tees up the package to
>> be loaded but it is not actually loaded until CleanSlate is
>> evaluated in your notebook, which occurs after Paclet manager is
>> installed. This way, Paclet manager does not get wiped out by
>> CleanSlate and you do not have ugly kernel crashes when opening Doc
>> Center. I lost a lot of work because of this until I figured out
>> this fix.
>
> 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!
Thanks in advance.
---
Murray Eisenberg murray at math.umass.edu
Mathematics & Statistics Dept.
Lederle Graduate Research Tower phone 413 549-1020 (H)
University of Massachusetts 413 545-2859 (W)
710 North Pleasant Street fax 413 545-1801
Amherst, MA 01003-9305
- References:
- Re: Clearing all variables and definitions: i.e. "resetting" mathematica
- From: Bill Rowe <readnews@sbcglobal.net>
- Re: Clearing all variables and definitions: i.e. "resetting" mathematica