David Brahm
Fri, 8 Nov 2002 16:11:23 -0500


   Would it be possible to give strwidth() and strheight() an argument "font",
that worked like the "cex" argument (i.e. defaults to current par("font"), but
can be overridden)?  Then I could replace this:

  R> oldpar <- par(font=2)
  R> x <- strwidth("hello")
  R> par(oldpar)

with this:

  R> x <- strwidth("hello", font=2)

                              -- David Brahm (
r-devel mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: