Skip to content
Prev 66233 / 398503 Next

menu() and continue a repeat loop without executing the code that follows the loop!!?

a
script??

I actually have this kind of code

reapeat{
...
...
...
switch(menu(c("continue to select points","modelling")),next,break)
}
...
...


With the right brackets, it doesn't work either!
R read the entire code that follows the switch(...) when I choose "continue to
select points" instead of ONLY reading the repeat loop.

Guillaume Storchi