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@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.

______________________________________________
R-help@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.

Reply via email to