"If-error-resume-next"

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|

"If-error-resume-next"

Bogaso
In VBA there is a syntax "if error resume next" which sometimes acts as very
beneficial on ignoring error. Is there any similar kind of function/syntax
here in R as well?

Thanks for your attention

        [[alternative HTML version deleted]]

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: "If-error-resume-next"

Joris FA Meys
http://r.789695.n4.nabble.com/How-to-say-if-error-td2266619.html#a2266619

Cheers

On Thu, Jun 24, 2010 at 4:30 PM, Christofer Bogaso
<[hidden email]> wrote:

> In VBA there is a syntax "if error resume next" which sometimes acts as very
> beneficial on ignoring error. Is there any similar kind of function/syntax
> here in R as well?
>
> Thanks for your attention
>
>        [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>



--
Joris Meys
Statistical consultant

Ghent University
Faculty of Bioscience Engineering
Department of Applied mathematics, biometrics and process control

tel : +32 9 264 59 87
[hidden email]
-------------------------------
Disclaimer : http://helpdesk.ugent.be/e-maildisclaimer.php

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.
Reply | Threaded
Open this post in threaded view
|

Re: "If-error-resume-next"

Chuck Cleland
In reply to this post by Bogaso
On 6/24/2010 10:30 AM, Christofer Bogaso wrote:
> In VBA there is a syntax "if error resume next" which sometimes acts as very
> beneficial on ignoring error. Is there any similar kind of function/syntax
> here in R as well?

?try

> Thanks for your attention
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> [hidden email] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

--
Chuck Cleland, Ph.D.
NDRI, Inc. (www.ndri.org)
71 West 23rd Street, 8th floor
New York, NY 10010
tel: (212) 845-4495 (Tu, Th)
tel: (732) 512-0171 (M, W, F)
fax: (917) 438-0894

______________________________________________
[hidden email] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.