title: How to make q('yes') the default quitting behavior in R using .Rprofile?
body: <p>I'd like to be able to type <code>q()</code> in R and have R quit rather than be prompted as to whether I want to quit.</p>
  
  <p><strong>Is there some code that I could put into my <code>.Rprofile</code> file to make this happen?</strong></p>
  
  <p>I'd prefer if I didn't have to have a custom function floating around in my workspace. </p>