title: Load R datasets in dataframes
body: <p>I am new with R and trying to use some of the datasets which exits within the R itself such as <code>AirPassengers</code>. I have looked at different code samples and in all of them usually data is loaded like:</p>
  
  <pre><code>data(AirPassengers)
  </code></pre>
  
  <p>However, I was wondering if it is possible to load this into a dataframe so then I can figure out the columns data types. I have tried <code>summary</code> but that only gives back dataset properties such as Mean, Min, etc. I also tried the following:</p>
  
  <pre><code>df &lt;- data(AirPassengers)
  </code></pre>
  
  <p>Which is not working either. </p>
  
  <p>Thanks</p>