[R] stop() vs. error() ?
Prof Brian Ripley
ripley at stats.ox.ac.uk
Sat Mar 27 16:59:28 CET 2004
That's called q() in R.
On Sat, 27 Mar 2004, ivo welch wrote:
>
> hi andy: mea culpa. it is the exit function in most other languages.
> It would be exit(0) invocation in C (C++) and perl, for example.
>
> regards, /iaw
>
> Liaw, Andy wrote:
>
> >So you still have not told us what exactly what you are looking for. What
> >do you want some sort of stop() to do inside a function, that is neither an
> >error nor returning? Can you show an example in some other language that
> >has such a feature?
--
Brian D. Ripley, ripley at stats.ox.ac.uk
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 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help
mailing list