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

2008-07-23 Thread Peter Dalgaard
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) par$mfrow NULL Does any one know what is the cause of thi

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

2008-07-23 Thread Fabio Sanchez
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 <[EMAIL PROTECTED]> 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 t

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

2008-07-23 Thread Duncan Murdoch
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 woul

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

2008-07-23 Thread Henrique Dallazuanna
Perhaps you have a function called 'par' in your workspace. On Wed, Jul 23, 2008 at 6:56 AM, Fabio Sanchez <[EMAIL PROTECTED]> 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=

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

2008-07-23 Thread john seers (IFR)
Hi Fabio Have you used the name "c" for something else? Try typing in "c" at the command line, you should see something like: > c function (..., recursive = FALSE) .Primitive("c") Regards John --- for example; > par(mfrow=c(2,2)) Error in c(2, 2) : unused argument(s) (2) > par$mfr

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

2008-07-23 Thread Prof Brian Ripley
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 possibl

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

2008-07-23 Thread john seers (IFR)
nglish_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

[R] par() function does not work

2008-07-23 Thread Fabio Sanchez
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