Did you start R with --vanilla to check that this is not something you have done? It is good practice, and I suspect will show you that you have mis-diagosed this problem.

On Wed, 23 Jul 2008, Fabio Sanchez wrote:

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)

That error is not from par() but from c(). I suspect you have defined a function c() in your workspace that is breaking your code.

par$mfrow
NULL

That is not supposed to work.  Perhaps you meant par()$mfrow?


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]]



--
Brian D. Ripley,                  [EMAIL PROTECTED]
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

______________________________________________
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