for循环 2016-08-22 本文已影响0人 冯诺依曼 > s=0 > for(i in 1:100) s=s+i;print(paste("this is",s)) [1] "this is 5050" >