Skip to content
Prev 33771 / 398528 Next

?plot problem

The critical fact here is that you called dev.off() and then re-open a
device: I don't recall that being mentioned before (and it works unless
you do that).  dev.off() does not save the current plot (it will in
1.8.0), so you need to call recordPlot()  before dev.off().

The current plot is recorded if you move away from it or start a new plot.
On Tue, 24 Jun 2003, Paul, David A wrote:

            
This is pointless: the x and y in the user's workspace are used.
Use lm(y ~ x, data=temp).
Unneeded.
call recordPlot() here