[R] Using stop ( ) from a Text Editor

Paulo Cardoso pecardoso at netcabo.pt
Mon Jul 28 13:34:04 CEST 2008

When using stop clause with a condition, its documented that "If a condition
object is supplied it should be the only argument, and further arguments
will be ignored, with a warning".

This will not be the case when running codes from Winedit or TINN?

When I do something like:

if(length(content[content%in%folders])!=4) stop("Execution will be

from TINN while executing an entire code R will continue reading the code

Is there a way to interrupt the code of being read from a text interface?


More information about the R-help mailing list