Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #12000
| Path | csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!news.glorb.com!border3.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!border4.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!novia!newspump.sol.net!posts.news.twtelecom.net!nnrp2.twtelecom.net!not-for-mail |
|---|---|
| From | Bill Rowe <readnews@sbcglobal.net> |
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Re: Clearing all variables and definitions: i.e. "resetting" mathematica |
| Date | Mon, 8 Oct 2012 06:52:17 +0000 (UTC) |
| Sender | steve@smc.vnet.net |
| Approved | Steven M. Christensen <steve@smc.vnet.net>, Moderator |
| Message-ID | <k4tt71$set$1@smc.vnet.net> (permalink) |
| Lines | 30 |
| Organization | Time-Warner Telecom |
| NNTP-Posting-Date | 08 Oct 2012 06:53:52 GMT |
| NNTP-Posting-Host | 2e058f75.news.twtelecom.net |
| X-Trace | DXC=o=f`o<<=K_3:SYOHUdL]M7C_A=>8kQj6=;[h;PUXBgb4R39Ihn3`@21EFiONJ7[Go6]eli<V\U4@2 |
| X-Complaints-To | abuse@twtelecom.net |
| Xref | csiph.com comp.soft-sys.math.mathematica:12000 |
Show key headers only | View raw
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.
Back to comp.soft-sys.math.mathematica | Previous | Next | Find similar | Unroll thread
Re: Clearing all variables and definitions: i.e. "resetting" mathematica Bill Rowe <readnews@sbcglobal.net> - 2012-10-08 06:52 +0000
csiph-web