Look at dev.off() or possibly dev.set().
Bill Dunlap
TIBCO Software
wdunlap tibco.com
On Tue, Oct 9, 2018 at 9:17 AM, Steven Yen <styen at ntu.edu.tw> wrote:
> Is it possible to release the file destination after sending it to a pdf
> file?
> Below, line 3 send the graph to a pdf file.
> I like to release the devise so that I can see result produced by line
> for on the console (screen). Thanks.
>
> x<-1:10
> pdf("test1.pdf") # pdf {grDevices}
> boxplot(x) # This goes to pdf file
> boxplot(x) # Like this to go to console
>
> --
> styen at ntu.edu.tw (S.T. Yen)
>
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/
> posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>
[[alternative HTML version deleted]]