Dear all, I am very thankful, if you could tell wheather it is possible to write paste("Mus., 10 ", expression(mu)," g", sep="") Thank you in advance, Samor --------------------------------- [[alternative HTML version deleted]]
Henrique Dallazuanna
2008-Feb-18 18:46 UTC
[R] paste("Mus., 10 ", expression(mu)," g", sep="")
Try this: plot(rnorm(10), main=expression(paste("Mus., 10 ",mu," g", sep=""))) On 18/02/2008, Samor Gandhi <samorgandhi at yahoo.com> wrote:> Dear all, > > I am very thankful, if you could tell wheather it is possible to write > > paste("Mus., 10 ", expression(mu)," g", sep="") > > Thank you in advance, > Samor > > > --------------------------------- > > [[alternative HTML version deleted]] > > ______________________________________________ > 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. >-- Henrique Dallazuanna Curitiba-Paran?-Brasil 25? 25' 40" S 49? 16' 22" O
Henrique Dallazuanna wrote:> Try this: > > plot(rnorm(10), main=expression(paste("Mus., 10 ",mu," g", sep="")))or plot(rnorm(10), main=expression("Mus., 10 " * mu * g)) without all that paste()ing, just as one formula. Uwe Ligges> On 18/02/2008, Samor Gandhi <samorgandhi at yahoo.com> wrote: >> Dear all, >> >> I am very thankful, if you could tell wheather it is possible to write >> >> paste("Mus., 10 ", expression(mu)," g", sep="") >> >> Thank you in advance, >> Samor >> >> >> --------------------------------- >> >> [[alternative HTML version deleted]] >> >> ______________________________________________ >> 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. >> > >