title: Restart R session without interrupting the for loop
body: <p>In my for loop, I need to remove RAM. So I delete some objects with <strong><code>rm()</code></strong> command. Then, I do <strong><code>gc()</code></strong> but the RAM still the same </p>
  
  <p>So I use <strong><code>.rs.restartR()</code></strong> instead of <strong><code>gc()</code></strong> and it works: a sufficient part of my RAM is removed after the restart of the R session. </p>
  
  <p>My problem is the for loop which is interrupted after the R restart. Do you have an idea to automatically go on the for loop after the <strong><code>.rs.restartR()</code></strong> command ?</p>