Message-ID: <48DA8FDB.3050008@imperial.ac.uk>
Date: 2008-09-24T19:07:07Z
From: Adaikalavan Ramasamy
Subject: Is there a single command that can revert all the plotting parameters to default?
In-Reply-To: <4F08C21F-BD57-4BCF-9DE1-CB171F6DADD2@yahoo.com>
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.