title: Transpose Function in R is not transposing
body: <p>Trying to transpose a vector in R and then name it.</p>
  
  <p>I created a vector, <code>v</code> as follows:</p>
  
  <pre><code>v&lt;-c(1,2,3,4)
  </code></pre>
  
  <p>But when I try to transpose as:</p>
  
  <pre><code>t(v)
  </code></pre>
  
  <p>It gives the output: </p>
  
  <pre><code>t(v)
       [,1] [,2] [,3] [,4]
  
  [1,]    1    2    3    4
  </code></pre>
  
  <p>I know I can create a matrix or define a vector the other way, but I think the bigger issue is why transpose itself is not working. I do not have any packages installed or things like that.</p>