title: How to automatically start and close R Console for StatEt plugin?
body: <p>I want to use the Eclipse plugin StatEt to develop R code. In order to do so, I always have to start my R Console run configuration. Otherwise I get the error</p>
  
  <pre><code>No session of R is active in the current workbench window.
  </code></pre>
  
  <p>When I am finished and try to close Eclipse, I get a warning popup:</p>
  
  <p><a href="https://i.stack.imgur.com/TKgCb.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/TKgCb.png" alt="enter image description here"></a></p>
  
  <p>Extra starting and closing the console is annoying. I use this instance of Eclipse only for StatEt</p>
  
  <p>=> <strong>How can I auto-execute the run configuration on Eclipse startup</strong> and</p>
  
  <p>=> How can I <strong>avoid the warning window when closing Eclipse</strong>? (How to chose "Exit Workbench now and remember my decision"? or so)</p>
  
  <p>What already helped a little was to use the Options/Arguments <code>--silent --no-save</code> in the R Console run configuration. Otherwise there would be another annoying warning when closing the console.</p>
  
  <p>Here it is stated that there is an "Auto Run" plugin, which is listed under the "Utilities" category on the StatET update site:</p>
  
  <p><a href="http://lists.r-forge.r-project.org/pipermail/statet-user/2009-March/000128.html" rel="nofollow noreferrer">http://lists.r-forge.r-project.org/pipermail/statet-user/2009-March/000128.html</a></p>
  
  <p>However, using <a href="http://download.walware.de/eclipse-4.6" rel="nofollow noreferrer">http://download.walware.de/eclipse-4.6</a> I could not find such a plugin. Therefore I guess that that plugin was available for an older version of StatET?</p>
  
  <p>Related questions:</p>
  
  <ul>
  <li><p><a href="https://stackoverflow.com/questions/47942864/how-to-use-r-graph-builder-and-r-graphics-view-with-statet-eclipse-plugin">How to use &quot;R Graph Builder&quot; and &quot;R Graphics&quot; view with StatEt Eclipse Plugin?</a></p></li>
  <li><p><a href="https://stackoverflow.com/questions/47941228/how-to-index-r-library-for-help-view-of-statet-eclipse-plugin">How to index R library for Help view of StatEt Eclipse plugin?</a></p></li>
  </ul>