[R] expression + paste + arguments + ...

From: <ivo_welch-rstat8783_at_mailblocks.com>
Date: Fri 30 Jul 2004 - 09:37:35 EST

dear R wizards: I would like to write a function that roughly places the equivalent of the following latex text into the current plot:

   \newcommand{ \placesigma }[4]{ \put(\#1,\#2){ \sigma_{A , #3} = #4 }

I cannot figure out how to do this. I know I have to use a function that uses expressions in a text() invoke. But passing arguments and nesting strings and expressions has so far not worked for me. I hope this is an obvious question---if not, please just tell me and I can give up. help appreciated.

sincerely,

/iaw



R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jul 30 09:43:27 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:41:21 EST