Re: [R] par() function does not work

From: john seers (IFR) <>
Date: Wed, 23 Jul 2008 12:05:30 +0100


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: [] On Behalf Of Fabio Sanchez
Sent: 23 July 2008 10:56
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
NULL Does any one know what is the cause of this problem? Regards, Fabio -- 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]] ______________________________________________ mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code.
Received on Wed 23 Jul 2008 - 11:14:46 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 23 Jul 2008 - 11:32:10 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive