[R] Is there a single command that can revert all the plotting parameters to default?
Adaikalavan Ramasamy
a.ramasamy at imperial.ac.uk
Wed Sep 24 21:07:07 CEST 2008
What do you mean? If you kill the existing graph, perhaps using
dev.off(), the next plot generated should use default values. Is this
what you want?
Some plotting functions use this at the start before modifying
oldpar <- par(no.readonly=T)
on.exit(par(oldpar))
Regards, Adai
Regards, Adai
Arthur Roberts wrote:
> Hi, all,
>
> This might be a stupid question. Is there a single command in R that
> can revert parameters to default? It is much appreciated.
>
> Best wishes,
> Art Roberts
> University of Washington
>
> ______________________________________________
> R-help at r-project.org mailing list
> 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.
More information about the R-help
mailing list