Hi, I am wondering if there is a way to change the value of the "record" option in a graphics device that is already open (and accepts this option). I don''t want to open a new device with, for example "dev.new(record=T)", but just want to change the settings of the current device. This can be done by pointing and clicking on the "history" tab of a graphics device in windows, but I would like to do this in a script. Best regards, Andy Andrew Hooker, Ph.D. Associate Professor of Pharmacometrics Div. of Pharmacokinetics and Drug Therapy Dept. of Pharmaceutical Biosciences Uppsala University Box 591, 751 24, Uppsala, Sweden Phone: +46 18 471 4355 Mobile: +46 701 679 048 <http://www.farmbio.uu.se/research.php?avd=5> www.farmbio.uu.se/research.php?avd=5 [[alternative HTML version deleted]]
Prof Brian Ripley
2008-Dec-05 10:23 UTC
[R] Changing 'record' option in open graphics device
On Thu, 4 Dec 2008, Andrew Hooker wrote:> Hi, > > > > I am wondering if there is a way to change the value of the "record" option > in a graphics device that is already open (and accepts this option). I > don't want to open a new device with, for example "dev.new(record=T)", but > just want to change the settings of the current device. This can be done by > pointing and clicking on the "history" tab of a graphics device in windows, > but I would like to do this in a script.1) AFAIK only one device, windows(), accepts this. 2) That device has no way to do this from R code.> Best regards, > > Andy > > > > Andrew Hooker, Ph.D. > Associate Professor of Pharmacometrics > Div. of Pharmacokinetics and Drug Therapy > Dept. of Pharmaceutical Biosciences > Uppsala University > Box 591, 751 24, Uppsala, Sweden > Phone: +46 18 471 4355 > Mobile: +46 701 679 048 > > <http://www.farmbio.uu.se/research.php?avd=5> > www.farmbio.uu.se/research.php?avd=5 > > [[alternative HTML version deleted]] > > ______________________________________________ > 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.PLEASE do: double-spaced text is unfriendly and is undoubtedly caused by sending HTML when asked not to. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595