Skip to content
Back to formatted view

Raw Message

Message-ID: <1353702050106-4650589.post@n4.nabble.com>
Date: 2012-11-23T20:20:50Z
From: mee1d3hs
Subject: characters, mathematical expressions and computed values
In-Reply-To: <E66794E69CFDE04D9A70842786030B93371604@PA-MBX04.na.tibco.com>

The code

hist(new, main=bquote("Heart Attack (" * bar(X)==.(round(mean(new),1)) *
")")) 

does not work on 2.15.2 on OSX. the histogram is generated, but the title
does show at all, which kind of tells me the bquote expression is failing

I would appreciate any help in making this work, it seems it should be easy,
but somehow it is not. I tried using substitute, and many other ways with no
help





--
View this message in context: http://r.789695.n4.nabble.com/characters-mathematical-expressions-and-computed-values-tp4645916p4650589.html
Sent from the R help mailing list archive at Nabble.com.