title: How to supress updating loaded packages window during R package installation in RStudio?
body: <p>How to disable / suppress a popup window "Updating loaded packages" which keeps showing up during <code>R</code> package installation? I am happy to have it set to "No", but I do not know how to make it work (investigated <code>install.packages()</code> args and did my googling, but did not find out). </p>
  
  <p>Background: my goal is to compare the installing time of a large (2k) collection of packages. I want to make it overnight in a loop where in each iteration: (1) I remove all but <code>base</code> priority packages, (2) I measure the time of particular package installation. I must have no popup windows (which halt the process) to do this. </p>
  
  <p><code>sessionInfo</code> when I start RStudio: </p>
  
  <pre><code>&gt; sessionInfo()
  R version 3.5.1 (2018-07-02)
  Platform: x86_64-apple-darwin15.6.0 (64-bit)
  Running under: macOS  10.14
  
  Matrix products: default
  BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
  LAPACK: /Library/Frameworks/R.framework/Versions/3.5/Resources/lib/libRlapack.dylib
  
  locale:
  [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
  
  attached base packages:
  [1] stats     graphics  grDevices utils     datasets  methods   base     
  
  loaded via a namespace (and not attached):
  [1] compiler_3.5.1 tools_3.5.1   
  &gt; 
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/D2Ql7.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/D2Ql7.png" alt="enter image description here"></a></p>