title: Installing R packages to custom directory
body: <p>I am trying to install a package to my own directory that I have read and write access to (I'm working on a server). </p>
  
  <p>I use this command to successfully install the package: <code>install.packages('batch', lib='./packages', repos='http://cran.rstudio.com/'</code> . </p>
  
  <p>When I try to load the package with <code>library('batch')</code> I get this error:</p>
  
  <pre><code>Error in library("batch") : there is no package called 'batch'
  </code></pre>
  
  <p>When the package is finished installing I do get this notification: <code>The downloaded source packages are in
          '/tmp/RtmpqTJrz5/downloaded_packages'</code></p>
  
  <p>All I want to do is simply load in the package. Maybe changing the <code>.libPaths()</code> but I'm not quite sure. I'm aware that you can use <code>load_all</code> in <code>devtools</code> but then I'd have to somehow load in that package, which defeats the purpose.</p>