Hi all, This is a question for any of you who use R.app (OS X). Is there any way to resize the quartz plot window from within R? I know that you can resize the window by dragging the corner of the window, and fro the preferences panel. But is there a way to specify the window size from the console? I want to specify the size of the plot window from inside an R function. Also a related question: I notice that text does not resize proportionately - it stays the same size when you resize the window. Can this be controlled from the console as well? Is there a way to make text resize proportionately with window size? Thanks, - Jason Jason Horn Boston University Department of Biology 5 Cumington Street Boston, MA 02215 jhorn@bu.edu office: 617 353 6987 cell: 401 588 2766 [[alternative HTML version deleted]]
On Mon, 10 Oct 2005, Jason Horn wrote:> This is a question for any of you who use R.app (OS X). Is there any > way to resize the quartz plot window from within R? I know that you > can resize the window by dragging the corner of the window, and fro > the preferences panel. But is there a way to specify the window size > from the console? I want to specify the size of the plot window from > inside an R function.You had a problem with the width & height arguments? Probably best to use device independent method for scripting. grdev <- function(...) { get(getOption("device"))(...) } grdev(width = 7.8, height = 5.8) #quartz(width = 7.8, height = 5.8) ---------------------------------------------------------- SIGSIG -- signature too long (core dumped)
Jason, ?quartz lists the options, e.g. quartz(width=6, height=7, pointsize=24) All from the console. A better alias for these questions is R-Sig-Mac (r-sig- mac at stat.math.ethz.ch). Rob On Oct 10, 2005, at 7:25 AM, Jason Horn wrote:> Hi all, > > This is a question for any of you who use R.app (OS X). Is there any > way to resize the quartz plot window from within R? I know that you > can resize the window by dragging the corner of the window, and fro > the preferences panel. But is there a way to specify the window size > from the console? I want to specify the size of the plot window from > inside an R function. > > Also a related question: I notice that text does not resize > proportionately - it stays the same size when you resize the window. > Can this be controlled from the console as well? Is there a way to > make text resize proportionately with window size? > > Thanks, > > - Jason > > > Jason Horn > Boston University Department of Biology > 5 Cumington Street Boston, MA 02215 > > jhorn at bu.edu > office: 617 353 6987 > cell: 401 588 2766 > > > > [[alternative HTML version deleted]] > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting- > guide.html >