[R] paste("Mus., 10 ", expression(mu)," g", sep="")

Uwe Ligges ligges at statistik.tu-dortmund.de
Tue Feb 19 09:25:36 CET 2008



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



More information about the R-help mailing list