[R] Help with hclust() and plot()
michael watson (IAH-C)
michael.watson at bbsrc.ac.uk
Fri May 21 16:17:37 CEST 2004
Thank you one and all, I have figured it out now; Cheers Sean!
From: Rolf Turner [mailto:rolf at math.unb.ca]
Sent: 21 May 2004 15:13
To: r-help at stat.math.ethz.ch
Subject: Re: [R] Help with hclust() and plot()
Tamas Papp wrote:
> On Fri, May 21, 2004 at 07:56:02AM -0400, Sean Davis wrote:
> > The use for par is:
> > > plot(1:8,1:8) #you must have an open graphics window before
> > #par has an effect
> Instead of making a plot you will discard anyway (since you are making
> another when par() takes effect), you might want to initialize the
> device using the appropriate functions, eg x11(), postscript(), etc.
Just issue the par() command, and if no device is open, an
x11 window will be opened automatically. Sean Davis's
assertion that ``you must have an open graphics window before
par has an effect'' simply isn't true. At least it's not
true under R 1.8.1 on Solaris nor under R 1.9.0 on Linux.
rolf at math.unb.ca
R-help at stat.math.ethz.ch mailing list
PLEASE do read the posting guide!
More information about the R-help