Re: [R] Simple R (in Sweave) Question

2008-11-02 Thread Dieter Menne
dogle northland.edu> writes: > I am writing a report using Sweave with specific R output incorporated into > the text using the Sexpr{} command. I have run into two specific issues: > > 1) If the result inside the Sexpr{} command is an integer less than 10 I > would like to print the “word” fo

[R] Simple R (in Sweave) Question

2008-11-02 Thread dogle
I am writing a report using Sweave with specific R output incorporated into the text using the Sexpr{} command. I have run into two specific issues: 1) If the result inside the Sexpr{} command is an integer less than 10 I would like to print the “word” for that number – e.g., “seven” for 7. 2)