title: Print one column of data frame with row names
body: <p>Consider a data frame with custom row names:</p>
  
  <pre><code>&gt; data &lt;- data.frame(a=1:3,b=2:4,c=3:5,row.names=c("x","y","z"))
  &gt; data
    a b c
  x 1 2 3
  y 2 3 4
  z 3 4 5
  </code></pre>
  
  <p>If I select <strong>more than one column</strong>, R prints them along with the row names:</p>
  
  <pre><code>&gt; data[,c("a","c")]
    a c
  x 1 3
  y 2 4
  z 3 5
  </code></pre>
  
  <p>But if I select <strong>only one column</strong>, R prints it as a simple vector, without the row names:</p>
  
  <pre><code>&gt; data[,"c"]
  [1] 3 4 5
  </code></pre>
  
  <p>My question is, how do I tell R to print <strong>one column</strong> in the same way it prints multiple columns, that is, <strong>with the row names</strong>?</p>