title: How to load packages in R
body: <p>I have successfully installed the <code>tm</code> package, which is located in: <code>C:\Users\JustinLiang\Documents\R\win-library\3.0</code>  </p>
  
  <p>After type <code>library()</code>, it shows me the R packages available list:  </p>
  
  <blockquote>
    <p>Packages in library ‘C:/Users/JustinLiang/Documents/R/win-library/3.0’:</p>
    
    <p>tm                      Text Mining Package</p>
    
    <p>Packages in library ‘C:/Program Files/R/R-3.0.2/library’:  </p>
  </blockquote>
  
  <p>however, when I try to load the package: <code>library(tm)</code>, it shows me an error:    </p>
  
  <pre><code>Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) : 
    there is no package called ‘slam’
  Error: package or namespace load failed for ‘tm’
  </code></pre>