[R] Change font-face in title

Mike Prager mike.prager at noaa.gov
Tue Jul 22 19:12:23 CEST 2008


"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.



More information about the R-help mailing list