[R] par() function does not work

john seers (IFR) john.seers at bbsrc.ac.uk
Wed Jul 23 13:05:30 CEST 2008

Hi Fabio

Works OK for me.

> par(mfrow=c(2,2))
> par("mfrow")
[1] 2 2

But then I am using Windows ...

> sessionInfo()
R version 2.7.1 (2008-06-23) 

LC_COLLATE=English_United Kingdom.1252;LC_CTYPE=English_United Kingdom.1252;LC_MONETARY=English_United Kingdom.1252;LC_NUMERIC=C;LC_TIME=English_United Kingdom.1252
What are you using?



-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf Of Fabio Sanchez
Sent: 23 July 2008 10:56
To: r-help at stat.math.ethz.ch
Subject: [R] par() function does not work

Dear R-nautes,

I installed the 2.7.1 version of R and found it is not possible to modify graphical parameters with par().

for example;

> par(mfrow=c(2,2))
Error in c(2, 2) : unused argument(s) (2)

> par$mfrow
Does any one know what is the cause of this problem?


Fabio Sánchez, MD, MSc, PhD
Unit of Dermatology and Venereology
Department of Medicine
Karolinska Institute
SE-17176 Karolinska University Hospital
Phone: +46 8 51772158
Fax: +46 8 51773620

	[[alternative HTML version deleted]]

More information about the R-help mailing list