Lutz Prechelt <prechelt@ira.uka.de> wrote:
[ snip ]
> Suddenly, I don't know why, my Trellis consumes enormous amounts
> of memory.
[ snip ]
> After half an hour and many failed attempts, I finally found the problem:
>
>
> I had a dataframe named 'par'.
>
>
> This objects hides the par() function, which is important for Trellis.
> Removing it removed the enormous Trellis memory consumption as well.
> BTW, another object called 'array' apparently did not do any harm!
>
> The problem with avoiding this type of problem is that one can have
> a rather hard time thinking of the function 'par()' when once invents
> the name 'par' for the dataframe holding the 'parameter sets and
> results'...
The masked() function is good for this sort of thing. It lists
any objects in the named database that are currently masking
something farther down in the search list.
It doesn't hurt to run it once in a while or even put it in your
.First function just as a precaution. Just don't create your
own object named 'masked'...
--Todd
--
Z. Todd Taylor
Pacific Northwest National Laboratory
Todd.Taylor@pnl.gov
Why is it bad to have a quick temper *and* bad to lose it?
-----------------------------------------------------------------------
This message was distributed by s-news@wubios.wustl.edu. To unsubscribe
send e-mail to s-news-request@wubios.wustl.edu with the BODY of the
message: unsubscribe s-news
|