Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12005
| From | Murray Eisenberg <murray@math.umass.edu> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Clearing all variables and definitions: i.e. "resetting" mathematica |
| Date | 2012-10-09 04:43 +0000 |
| Message-ID | <k50a2e$3oi$1@smc.vnet.net> (permalink) |
| References | <20121008063204.87D886873@smc.vnet.net> |
| Organization | Time-Warner Telecom |
On Oct 8, 2012, at 2:32 AM, Bill Rowe <readnews@sbcglobal.net> wrote:
> On 10/7/12 at 1:31 AM, dmaxwarren@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@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
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Clearing all variables and definitions: i.e. "resetting" mathematica Murray Eisenberg <murray@math.umass.edu> - 2012-10-09 04:43 +0000
csiph-web