title: Give name to list variable
body: <p>so we know that R have <code>list()</code> variable, and also know that R has function call <code>names()</code> to give names for variable. For example :</p>
  
  <pre><code>a=30
  names(a)="number"
  a
  # number
  # 30
  </code></pre>
  
  <p>But now, I want to give a list variable a name, like this :</p>
  
  <pre><code>b=list()
  names(b)="number"
  </code></pre>
  
  <p>and it returns error message like this : </p>
  
  <pre><code>Error in names(b) = "number" : 
  'names' attribute [1] must be the same length as the vector [0]
  </code></pre>
  
  <p>What I have suppose to do? I do this because I need many list variables. Or, do you have another way so I can make many list variables without playing with its name?</p>