title: How to remove '.' from column names in a dataframe?
body: <p>My dataframe which I read from a csv file has column names like this</p>
  
  <p><code>abc.def, ewf.asd.fkl, qqit.vsf.addw.coil</code></p>
  
  <p>I want to remove the '.' from all the names and convert them to </p>
  
  <p><code>abcdef, eqfasdfkl, qqitvsfaddwcoil.</code></p>
  
  <p>I tried using the sub command  <code>sub(".","",colnames(dataframe))</code> but this command took out the first letter of each column name and the column names changed to</p>
  
  <p><code>bc.def, wf.asd.fkl, qit.vsf.addw.coil</code></p>
  
  <p>Anyone know another command to do this. I can change the column name one by one, but I have a lot of files with 30 or more columns in each file.</p>
  
  <p>Again, I want to remove the "." from all the colnames. I am trying to do this so I can use "sqldf" commands, which don't deal well with "."</p>
  
  <p>Thank you for your help</p>