[R] Help with hclust() and plot()
Sean Davis
sdavis2 at mail.nih.gov
Fri May 21 16:18:24 CEST 2004
On 5/21/04 10:12 AM, "Rolf Turner" <rolf at math.unb.ca> wrote:
>
> 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.
Yep. Sorry about "asserting" stuff. I stand corrected.
Sean
More information about the R-help
mailing list