https://bugs.kde.org/show_bug.cgi?id=356289
Thomas Friedrichsmeier <thomas.friedrichsme...@ruhr-uni-bochum.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |thomas.friedrichsmeier@ruhr | |-uni-bochum.de --- Comment #1 from Thomas Friedrichsmeier <thomas.friedrichsme...@ruhr-uni-bochum.de> --- Hi! For clarification, the behavior I am seeing is this: 1) At start of session > plot (1) Result: One plot window, history controls disabled. 2) > plot (2) Result: Second plot is shown, history controls enabled. 3) History->Previous plot -- History->Clear history Result: First plot is shown, history controls disabled. 4) > plot (3) Result: Third plot is shown, history controls enabled, first plot is in history. Can you confirm this is what you are seeing, too? Next question is what behavior you expect, instead. As far as I understand, you expect the result of step 4 to be "Third plot is shown, history controls disabled." Correct? *If* this is the behavior you expect, it is difficult to achieve. The problem is that we cannot determine, reliably, when a plot is "finished". For instance, you could still call title(main="A nice plot"), or make other modifications to the current plot. Thus, the history logic is that in the moment you start a *new* plot, the previous plot is added to the history (also, when you close the plot window). Against that background, I can see only two ways out: a) History->Clear history would clear the history *and* blank the current plot. That behavior would clearly hold the potential for unpleasant surprises though. b) To achieve what you want, today, you can close the plot window, and run rk.clear.plot.history() in the R Console window. Is that good enough? Or do you have something else in mind? -- You are receiving this mail because: You are watching all bug changes.