title: How to create a table from a .csv file?
body: <p>I have the following data from a .csv file:</p>
  
  <pre><code>Sp  Country   RMU           Temp    Males   Females 
  Cc  Australia Pacific, S    25.00   0   7       
  Cc  Australia Pacific, S    26.00   17  1   
  Ei  STP       Atlantic, E   28.00   21  2       
  Ei  Brazil    Atlantic, W   27.50   8   1
  Nd  Australia Pacific, S    28.00   2   0   
  </code></pre>
  
  <p>And I want to create a new table with Males values, just where "Sp==Cc", meaning</p>
  
  <pre><code>Males
  0
  17
  </code></pre>
  
  <p>I have tried this:</p>
  
  <pre><code>m=subset(file3_TMF, Sp=="Cc")$Males
  </code></pre>
  
  <p>but it is creating an "integer (empty)".</p>
  
  <p>Can anyone help?</p>