See ?title where its mentioned that calls are ok and a formula is a call. Actually the first ~ is not needed since its already a formula.
On Tue, Jul 22, 2008 at 1:12 PM, Mike Prager <[EMAIL PROTECTED]> wrote: > "Gabor Grothendieck" <[EMAIL PROTECTED]> 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@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. > ______________________________________________ R-help@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.