How to stop a for loop in R and keep the data -


i have code running in loop on dates. code takes while run, , there couple of days left, urgently need whatever results there are. there way of breaking code/for loop, keep whatever data has been produced now.

yes. can press "escape", examine results , restart loop.

for(iii in 1:100000000) force(iii) # press esc iii # in case 1121673 # use value restart loop later: for(iii in 1121674:100000000) force(iii) 

Comments

Popular posts from this blog

php - Passing multiple values in a url using checkbox -

compilation - PHP install fails on Ubuntu 14 (make: *** [sapi/cli/php] Error 1) PHP 5.6.20 -

sql - Postgresql tables exists, but getting "relation does not exist" when querying -