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

2012-11-24 Thread David Winsemius
On Nov 24, 2012, at 5:20 AM, mee1d3hs wrote: I still can't get this to work, I sent a message yesterday that indicated that one of you earlier attempts was successful on my machine running the same (or roughly the same OS) and a current version of R. You seem to be ignoring the possibil

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

2012-11-24 Thread William Dunlap
you want to change about #8? Bill Dunlap Spotfire, TIBCO Software wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of mee1d3hs > Sent: Saturday, November 24, 2012 5:21 AM > To: r-help@r-project.org &g

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 David Winsemius
On Nov 23, 2012, at 12:20 PM, mee1d3hs wrote: 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 Wo

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

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

2012-10-12 Thread 1Rnwb
gt; From: [hidden > > email]<http://user/SendEmail.jtp?type=node&node=4645934&i=0>[mailto:[hidden > email] <http://user/SendEmail.jtp?type=node&node=4645934&i=1>] On Behalf > > Of 1Rnwb > > Sent: Thursday, October 11, 2012 2:32 PM > > To: [hidden e

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

2012-10-12 Thread S Ellison
> [mailto:r-help-boun...@r-project.org] On Behalf Of William Dunlap > Subject: Re: [R] characters, mathematical expressions and computed values > > I think that bquote, with its .() operator, suffices for > [almost?] any single title; > ... > E.g., > hist(new, m

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

2012-10-11 Thread William Dunlap
e wdunlap tibco.com > -Original Message- > From: r-help-boun...@r-project.org [mailto:r-help-boun...@r-project.org] On > Behalf > Of 1Rnwb > Sent: Thursday, October 11, 2012 2:32 PM > To: r-help@r-project.org > Subject: [R] characters, mathematical expressions and co

[R] characters, mathematical expressions and computed values

2012-10-11 Thread 1Rnwb
Hello, I have to add "Age (bar(x)=14.3) as a title on a chart. I am unable to get this to working. I have tried bquote, substitute and expression, but they are only doing a part of the job. new<- c(14.3, 18.5, 18.1, 17.7, 18, 15.9, 19.6, 17.3, 17.8, 17.5, 15.4, 16.3, 15, 17.1, 17.1, 16.4, 15.2,