Re: Documentation Center (Mathematica Help) problem and solution
- To: mathgroup at smc.vnet.net
- Subject: [mg80384] Re: Documentation Center (Mathematica Help) problem and solution
- From: Albert <awnl at arcor.net>
- Date: Tue, 21 Aug 2007 04:57:28 -0400 (EDT)
- References: <fa6f8a$e6p$1@smc.vnet.net>
dr DanW wrote: > I have had a lot of problems with Documentation Center in Mathematica > 6 (the local version, not the online). If I type in a function name > that is not a literal match (ie, evaluate instead of Evaluate), > nothing would happen. Worse, occasionally I would open the > Documentation Center and crash the kernel and front end, losing all my > work since the last save. > > I was not a happy consumer. > > I finally tracked down the cause and a solution. I love the package > CleanSlate because it lets me have a clean run of my working notebook > without worrying about previously set values, and it is quicker than > quitting and restarting the kernel. I have the statement > CleanSlate[Verbose->False]; at the start of almost every notebook I > work on. > > Therein lies the problem. CleanSlate wipes out just about every > context in the $ContextPath, including one called PacletManager`, > which apparently controls the search engine. I have created the > following function to put in a autoloaded package (or init.m) > > SafeCleanSlate[opts___? > OptionQ]:=CleanSlateExcept["PacletManager`",opts,Verbose->False] > > Now I put SafeCleanSlate[]; at the top of all my notebooks, and I am > now much happier with the new help system, although I do still miss > the old one... > Maybe it is worth to mention "WebServices`" which is another Context that is on $ContextPath by default in version 6. You might have similar problems with any kind of web service if you don't also except "WebServices`" from CleanSlate... albert