Re: [R] measure displayed size of a character string

Paul Murrell (pm254@medschl.cam.ac.uk)
Tue, 22 Jun 1999 08:52:11 +0100

From: "Paul Murrell" <pm254@medschl.cam.ac.uk>
To: <twestley@buffalo.veridian.com>, "R-Help" <r-help@stat.math.ethz.ch>
Subject: Re: [R] measure displayed size of a character string
Date: Tue, 22 Jun 1999 08:52:11 +0100

hi

>Is there a way to measure the length of a character string as
>text() or mtext() would display it? Not in characters, but in
>inches or user coordinates.

hopefully strwidth() and strheight() will do what you want

paul

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help 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-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


This archive was generated by hypermail 1.02.