title: How to set default template for new ".R" files in rstudio
body: <p><strong>Background:</strong><br>
  I like 'r'.  I use <a href="https://www.rstudio.com/" rel="noreferrer">Rstudio</a> for it - it is a nice IDE.  I use the revolution Analytics version of 'r', "revolution R Open".  </p>
  
  <p>I find that I type the same stuff in the annotation and structured programming regularly, and I want to save myself the re-typing. </p>
  
  <p><strong>Question:</strong><br>
  How do I change the default file template so that the one I want, with some text already populated, comes up when I create a new blank R-script in Rstudio.</p>
  
  <p>Clarifications:    </p>
  
  <ul>
  <li>I am not looking for this to be a manual process where I open one file, renaming it to a proper directory, and then work on it.  I am looking to change the <strong>default</strong> so that this happens automatically. </li>
  </ul>
  
  <p><strong>Previous approach:</strong></p>
  
  <ul>
  <li>google </li>
  <li>rstudio search (<a href="https://support.rstudio.com/hc/en-us/articles/200549016-Customizing-RStudio" rel="noreferrer">example</a>)</li>
  <li>search on stack-overflow</li>
  <li>poking around rstudio menus/preferences</li>
  </ul>
  
  <p>Thanks.</p>