It is not a weird error. It means that one side of the logical test had NA:
> if(1==1) 1
[1] 1
> if (NA==1) 1
Error in if (NA == 1) 1 : missing value where TRUE/FALSE needed
>
So use traceback() to maybe see what is happening. I would also
suggest that you put
options(error=utils::recover)
in
Hello :-) I am trying to run the next script, it generates "random
areas" inside a map of the american continent,
and then plot it, it´s suppose that every frame gives you the evolution
of the program but at some point it stops
with the weirdest of the errors I´ve ever seen in R, I don´t even hav
2 matches
Mail list logo