Re: [R] Change font-face in title

From: Mike Prager <mike.prager_at_noaa.gov>
Date: Tue, 22 Jul 2008 13:12:23 -0400

"Gabor Grothendieck" <ggrothendieck_at_gmail.com> wrote:
>
> plot(1, type="l", xlab="Wellenlänge [nm]", col="darkslategray",
> main = ~ Spektrum ~ italic("Deschampsia caespitosa"))
 

That clearly works, but why? Does the tilde cause the rest of the text to be parsed as an expression? This looks extremely useful, and I am grasping for the underlying principle.

-- 
Mike Prager, NOAA, Beaufort, NC
* Opinions expressed are personal and not represented otherwise.
* Any use of tradenames does not constitute a NOAA endorsement.

______________________________________________
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.
Received on Tue 22 Jul 2008 - 17:29:20 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Tue 22 Jul 2008 - 22:32:04 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive