On Sun, Jul 12, 2009 at 11:53 AM, Mark Knecht<markkne...@gmail.com> wrote:
<SNIP>

So this gets better in terms of error messages but still has problems

for(n in SystemResults$EnTime)  {
        if ( SystemResults$EnTime[n] == "(all)")  break else X =
SystemResults$EnTime[n]
        print(X)
}


> for(n in SystemResults$EnTime)  {
+ if ( SystemResults$EnTime[n] == "(all)")  break else X =
SystemResults$EnTime[n]
+ print(X)
+ }
Error in if (SystemResults$EnTime[n] == "(all)") break else X =
SystemResults$EnTime[n] :
  missing value where TRUE/FALSE needed
>

______________________________________________
R-help@r-project.org 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 via email to