Dear R-listers, 
 
I am writing a function that will generate a simple plot for the user . The 
size of the window (that contains the plot) may not be what the user wants. 
 
Supposing the user adjusts the window to a size of her/his choice, I would like 
to be able to save the new window size and specify the plot to be of this new 
window size when the user calls my function again. My question is what is the 
kind of 'get' or save graphic parameter command that I need to extract the size 
of the current window? I have looked at 'par' and 'getOption' but they don't 
seem to what I need. 
 
BTW, I use R in Windows XP.
 
Many thanks for any advice in advance. 
 
Best wishes,
Edmond 
 
 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Edmond Ng, MSc CStat
Lecturer in Medical Statistics
Health Services Research Unit, London School Hygiene & Tropical Medicine, 
Keppel Street, London WC1E 7HT, UK 
Tel: +44 (0)20 7927 2366 (direct line: ext 2065)  Fax: +44 (0)20 7580 8183
(Room 35, Ground Floor, Malet Street side)  
Website: http://www.lshtm.ac.uk/hrsu 
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

        [[alternative HTML version deleted]]

______________________________________________
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