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) 
i386-pc-mingw32 

locale:
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?


Regards

John

---
-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Fabio Sanchez
Sent: 23 July 2008 10:56
To: [EMAIL PROTECTED]
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]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to