title: How to install R package dependencies globally on Linux?
body: <p>I'm facing a problem where an specific R script (it just calls a <code>install.packages</code> in a package maintained by a coworker) when ran with my standard user gives me that output: <code>[1] "dependencies ‘methods’, ‘utils’, ‘tools’, ‘stats’, ‘grDevices’ are not available"</code>.</p>
  
  <p>So I installed those packages using the package manager of my system with <code># zypper in R-methods R-utils R-tools R-stats R-grDevices</code>.</p>
  
  <p>When I run again it keeps giving me the same error but if I do it with sudo permissions the script just runs with no problem.</p>
  
  <p>My R installation is at <code>/usr/lib64/R/</code>, and I'm using OpenSuse Tumbleweed.</p>
  
  <p>So my question is how to make the R packages I just installed via the system package manager be available to every user, instead of only root.</p>