[R] par() function does not work

Duncan Murdoch murdoch at stats.uwo.ca
Wed Jul 23 12:51:56 CEST 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's not an error from par(), it's an error from c().  I would assume 
c(2,2) would give you the same error.

Most likely you have defined your own function c(), but if not, 
something is seriously wrong with your installation.

Duncan Murdoch
>   
>> par$mfrow
>>     
> NULL
> Does any one know what is the cause of this problem?
>
> Regards,
>
> Fabio
>   
> ------------------------------------------------------------------------
>
> ______________________________________________
> 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.
>



More information about the R-help mailing list