R: How to list column names vertically instead of horizontally
<p>When I use the following code below in R, it lists the column names horizontally:</p>

<pre><code>&gt; colnames(data)
[1] "First"   "Last"   "City"   "Zip"  etc...
</code></pre>

<p>I wanted to know if I could have the results return vertically, like so:</p>

<pre><code> [1] "first"
 [2] "Last"
 [3] "City"
 [4] "Zip"
</code></pre>

<p>Thank you for your help.</p>