John Maindonald
1999-Aug-12 04:22 UTC
[R] text(x,y,expression(sqrt(txt))), where txt is a text string.
I am using R0.65.0 development version (August 10 1999) under Unix, and 0.64.2 under Windows 95. I have e. g.> txt <- "abcd"In> plot(x,y, expression(sqrt(txt)))I want txt to be evaluated, i. e. to get sqrt(abcd) plotted, (with the square root symbol replacing sqrt, of course). Is there a way to achieve this? John Maindonald email : john.maindonald at anu.edu.au Statistical Consulting Unit, phone : (6249)3998 c/o CMA, SMS, fax : (6249)5549 John Dedman Mathematical Sciences Building Australian National University Canberra ACT 0200 Australia -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._