On Wed, 22 Oct 2003, Zhen Pang wrote:
> Thank you for your help. But try() seems to only allow for an expression. My
> simulation have serveral expressions which possibly have problem. Is there
> any possibility to include them all in the try()? If not, I seem to use
> several try().
{line1
line2
line3}
*is* a single expression.
As in the example on the help page for try, you can also wrap the
computation in a function call, and that is usually a good idea.
--
Brian D. Ripley, [EMAIL PROTECTED]
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272860 (secr)
Oxford OX1 3TG, UK Fax: +44 1865 272595
______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help