title: How do i load data set part of the MASS library in R?
body: <p>I am working through this book dealing with statistical learning/machine learning and R. One of the problem states:</p>
  
  <blockquote>
    <p>To begin, load in the Boston data set. The Boston data set is part of
    the MASS library in R.</p>
  </blockquote>
  
  <pre><code>library (MASS)
  </code></pre>
  
  <blockquote>
    <p>Now the data set is contained in the object <code>Boston</code>.</p>
    
    <p>Read about the data set:</p>
  </blockquote>
  
  <p><code>?Boston</code></p>
  
  <p>I don't understand the syntax <code>library(MASS)</code>. How do I get the Boston data set from this? I've tried <code>Boston=library(MASS)</code> but that gives me an array of words: </p>
  
  <pre><code>"MASS" "stats"  "graphics"  "grDevices" "utils" "datasets" "methods"   "base" 
  </code></pre>
  
  <p>I've also tried something like <code>Boston=library(MASS::Boston)</code> but that doesn't seem to be valid either.</p>