Re: [R] characters, mathematical expressions and computed values

2012-11-24 Thread mee1d3hs
I still can't get this to work, I am just trying to learn and this is supposed to be a feature of R, the ability to combine math notation in charts and exhibits I did some more work to try to show what I am trying it to and what is not working x <- rnorm(1000,mean=10,sd=2) par(mfcol=c(3,3))

Re: [R] characters, mathematical expressions and computed values

2012-11-23 Thread mee1d3hs
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 i