Skip to content

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

1 message · Guillaume STORCHI

#
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