From C.Farrow@geology.gla.ac.uk  Fri Jun 19 10:28:58 1998
From: C.Farrow@geology.gla.ac.uk (Colin Farrow)
Date: Fri, 19 Jun 1998 10:28:58 +0100
Subject: problem with sub in graphs
Message-ID: <E0ymxTe-00007K-00@alligin>


Use of the graphical parameter 'sub' in a high level graphics function is 
inconsistent, and incompatible with the blue book

> plot(1:10, main="test", sub="demo")
Warning: parameter "sub" couldn't be set in high-level plot() function
Warning: parameter "sub" couldn't be set in high-level plot() function
Warning: parameter "sub" couldn't be set in high-level plot() function
Warning: parameter "sub" couldn't be set in high-level plot() function
Warning: parameter "sub" couldn't be set in high-level plot() function
Warning: parameter "sub" couldn't be set in high-level plot() function

... and why so many warnings?

> hist(1:10, main="test", sub="demo")
Warning: parameter "sub" couldn't be set in high-level plot() function
Warning: parameter "sub" couldn't be set in high-level plot() function

... despite the warnings the sub title is drawn !

I think the problem existed in earlier releases of R but the warnings were not 
printed.
 
Above with R-0.62.1 under Solaris 2.5.1.

--------------------
                     \
Colin Farrow          \
                       \---------------------------------------
                        \                                       \
Department of Geology,   \ E-mail: colin@geology.gla.ac.uk       \
University of Glasgow,    \                                       \
Glasgow, G12 8QQ. Scotland \ Tel: +44 (0)41 339 8855 x5466         \
                            \ Fax: +44 (0)41 330 4817               \
`````````````````````````````````````````````````````````````````````````

                                         
                                               
                                               
 
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


problem with sub in graphs
Colin Farrow