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

From: Fabio Sanchez <Fabio.Sanchez_at_ki.se>
Date: Wed, 23 Jul 2008 13:36:14 +0200

Thank you all,

I accidentally loaded a variable named "c".

All the best,

Fabio

On Wed, Jul 23, 2008 at 1:08 PM, Prof Brian Ripley <ripley_at_stats.ox.ac.uk> wrote:

> 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, ripley_at_stats.ox.ac.uk
> 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
>

-- 
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_at_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.

Received on Wed 23 Jul 2008 - 12:41:57 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 - 13:32:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive