title: R Code Taking Too Long To Run
body: <p>I have the following code running and it's taking me a long time to run. How do I know if it's still doing its job or it got stuck somewhere. </p>
  
  <pre><code>noise4&lt;-NULL;
  for(i in 1:length(noise3))
  {
      if(is.na(noise3[i])==TRUE)
      {
      next;
      }
      else
      {
      noise4&lt;-c(noise4,noise3[i]);
      }
  }
  </code></pre>
  
  <p>noise3 is a vector with 2418233 data points. </p>