title: Opening two Rstudio sessions while one is sinking
body: <p>In Rstudio I have one script which is running and using <code>sink()</code> to save the outputs to a text file. However, when I open up a second R studio session, while the first session is still running, it seems like I am unable to print anything to the console. How do you print to the console in Rstudio while another session is using <code>sink</code>?</p>
  
  <p>For example open up Rstudio and start by setting workspace to source file, with this as your source file</p>
  
  <pre><code>#set up sinking
    logFile = file("logMod.txt")
    sink(file=logFile)
    N=10000;
    N.c=10000;
  #run program
    for (i in 1:N){       
      for (j in 1:N.c){
          if( i*j %% 10000==0 ) print(i*j)
      }
    }
  sink()
  </code></pre>
  
  <p>then open up another Rstudio session and try to print to console. I can't do it. I can open the standard R gui and print to console but not Rstudio. This is all done on a windows machine.</p>