title: How to get my R version
body: <p>To get the version of my R installation I use</p>
  
  <pre><code>R.Version()
  </code></pre>
  
  <p>and it produces a long output:</p>
  
  <pre><code>&gt; R.Version()
  $platform
  [1] "x86_64-w64-mingw32"
  
  $arch
  [1] "x86_64"
  
  # many more things
  </code></pre>
  
  <p>until I get the:</p>
  
  <pre><code>$version.string
  [1] "R version 3.1.2 (2014-10-31)"
  </code></pre>
  
  <p>I also see the version as the first text from the R Console:</p>
  
  <pre><code>R version 3.1.2 (2014-10-31) -- "Pumpkin Helmet"
  Copyright (C) 2014 The R Foundation for Statistical Computing
  Platform: x86_64-w64-mingw32/x64 (64-bit)
  
  # many other things
  </code></pre>
  
  <p>However, I wonder: is there any way to get the exact version without getting the rest of info? That is, is there any way to just get this:</p>
  
  <pre><code>R version 3.1.2 (2014-10-31)
  </code></pre>