i<-1repeat{print(i)i<-i*2if(i>200)break()if(i>100)next()#跳过后续代码的运行进入下一次循环print("Can you see me?")}#> [1] 1#> [1] "Can you see me?"#> [1] 2#> [1] "Can you see me?"#> [1] 4#> [1] "Can you see me?"#> [1] 8#> [1] "Can you see me?"#> [1] 16#> [1] "Can you see me?"#> [1] 32#> [1] "Can you see me?"#> [1] 64#> [1] 128