title: How to suppress warning messages when loading a library?
body: <p>I'm trying to run a r script from the command line, but I get warning messages when packages are loaded:</p>
  
  <pre><code>C:\Temp&gt;Rscript myscript.r param
  Warning message:
  package 'RODBC' was built under R version 3.0.1
  Warning message:
  package 'ggplot2' was built under R version 3.0.1
  Warning message:
  package 'reshape2' was built under R version 3.0.1
  Warning message:
  package 'lubridate' was built under R version 3.0.1
  Warning message:
  package 'scales' was built under R version 3.0.1
  </code></pre>
  
  <p>I' tried to use <code>suppressPackageStartupMessages</code>:</p>
  
  <pre><code>suppressPackageStartupMessages(library(RODBC))
  </code></pre>
  
  <p>or <code>supressMessages</code></p>
  
  <pre><code>suppressMessages(library(RODBC))
  </code></pre>
  
  <p>but these did not suppress these messages. How to get rid of these warnings?</p>