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

2004-07-30 Thread Uwe Ligges
[EMAIL PROTECTED] wrote: 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 } ??? You are just defining a new LaTeX command ... nothing will

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

2004-07-29 Thread ivo_welch-rstat8783
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

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

2004-07-29 Thread Spencer Graves
I don't know latex, but have you looked at ?plotmath, including 'demo(plotmath)', the examples in the documentation, and an R site search suggested in the posting guide (http://www.R-project.org/posting-guide.html)? What you want is probably fairly easy, once you parse the plotmath