From berwin at maths.uwa.edu.au  Sat Nov 26 17:51:51 2005
From: berwin at maths.uwa.edu.au (Berwin A Turlach)
Date: Sun, 27 Nov 2005 00:51:51 +0800
Subject: [Rd] Help page of "par"
Message-ID: <17288.37543.501344.534298@bossiaea.maths.uwa.edu.au>

Dear all,

the second paragraph on the value returned by par() on the help page
of par says:

     When just one parameter is queried, the value is a character
     string. When two or more parameters are queried, the result is a
     list of character strings, with the list names giving the
     parameters.

But this does not seem to be correct:

> par("lty", "ask", "lwd", "oma")
$lty
[1] "solid"

$ask
[1] FALSE

$lwd
[1] 1

$oma
[1] 0 0 0 0

Only the first one is a character string, the other ones are a
logical, a number and a vector of numbers, respectively.  Should it
rather be something like (also in view of the next sentence):

     When just one parameter is queried, the value of that parameter
     is returned as a vector.  When two or more parameters are
     queried, their values are returned in a list, with the list names
     giving the parameters.

Cheers,

        Berwin



[Rd] Help page of "par"
Berwin A Turlach