title: How to print textual representation of single documents stored in a tm corpus in R?
body: <p>I was using {tm} package and then generated a corpus using </p>
  
  <p><code>corpus = Corpus(VectorSource(sample.words))</code></p>
  
  <p>then I want to check the content in corpus ,but it print this instead of its texts:</p>
  
  <pre><code>&gt; corpus
  &lt;&lt;VCorpus&gt;&gt;
  Metadata:  corpus specific: 0, document level (indexed): 0
  Content:  documents: 3933
  </code></pre>
  
  <p>Now I have found some methods to look into <code>corpus</code>,then I started wondering what exactly R print when an object was typed in ? </p>
  
  <pre><code>&gt; class(corpus)
  [1] "VCorpus" "Corpus" 
  &gt; typeof(corpus)
  [1] "list"
  </code></pre>
  
  <p>Why it didn`t like other ordinary lists ,printing its columns and rows?Does this has something to do whit the <em>class</em> attribute?</p>
  
  <p>I`m new in R and not familiar with some basic concepts, thanks for your patience!</p>