>>>>> "Roger" == Roger D Peng <[EMAIL PROTECTED]>
>>>>> on Wed, 28 Jan 2004 19:35:28 -0500 writes:
Roger> Use substitute()
Yes!
Roger> n <- 20
Roger> plot(0, 0, main = substitute(paste(n[i], " = ", k), list(k = n)))
but even better is
plot(0, 0, main = substitute(n[i] == k, list(k = n)))
(note the "==" !)
Martin
______________________________________________
[EMAIL PROTECTED] 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