strwidth(font=NULL)
David Brahm
brahm@alum.mit.edu
Fri, 8 Nov 2002 16:11:23 -0500
Hello,
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)
Thanks!
--
-- David Brahm (brahm@alum.mit.edu)
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._