[R] how to print "<=" in plot title

Bert Gunter gunter.berton at gene.com
Tue Jun 28 19:32:29 CEST 2011


This is highly system dependent: what "character" do you intend to use
for this 2 character representation? Hence, you need to follow the
posting guide and give the "at a minimum" system info. ?sessionInfo

-- Bert

On Tue, Jun 28, 2011 at 10:25 AM, array chip <arrayprofile at yahoo.com> wrote:
> Hi, how can I print "<=" (I mean the symbol of just one character) in the main
> title of a plot?
>
> for example:
>
> plot(1:10, main=paste("x <=", x))
>
> where variable x is some number generated on the fly.
>
> Thanks
>
> John
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



-- 
"Men by nature long to get on to the ultimate truths, and will often
be impatient with elementary studies or fight shy of them. If it were
possible to reach the ultimate truths without the elementary studies
usually prefixed to them, these would not be preparatory studies but
superfluous diversions."

-- Maimonides (1135-1204)

Bert Gunter
Genentech Nonclinical Biostatistics



More information about the R-help mailing list