[R] Error handling
krishna kumar
kriskumar at mailandnews.com
Wed Jul 10 11:38:41 CEST 2002
There is also R.oo found here
http://www.braju.com/R/R.classes/index.html
which has among lots of other goodies , trycatch / finally.
Peter Dalgaard BSA wrote:
> Ernesto Jardim <ernesto at ipimar.pt> writes:
>
> > Hi
> >
> > I wrote a function implementing an algoritm for simulation of spatial
> > sampling plans (using geoR).
> >
> > I'm using a range of parameters to perform several simulation and
> > sometimes this parameters create function errors wich cause the algoritm
> > to stop.
> >
> > How can I avoid this ?
> >
> > Below there's a small example that I made to study the problem but I was
> > not able to solve it. I've tried "restart" function but it caused an
> > endeless loop.
>
> try() (as mentioned in the Note in the docs for restart() -- perhaps
> we should also put it in See Also?)
>
> --
> O__ ---- Peter Dalgaard Blegdamsvej 3
> c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
> (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list