title: create table and set names to it
body: <p>I want to create a table and set the names to it but it does not work as expected. Actually, I can't find what is wrong</p>
  
  <pre><code>arr &lt;- array(dim = c(1,5))
  names(arr) &lt;- c("Year", "Month", "Day", "Name", "Surname")
  </code></pre>