title: R: how to get rid of the \ character in R
body: <p>I am importing a table with the following code:</p>
  
  <pre><code>data &lt;- read.csv("E:/test_division/division_finale2009/file_list_months_weeks/scope_ais_april.csv", nrows=1000, sep=",")
  t&lt;-subset(data,data$mmsi==211330370)
  </code></pre>
  
  <p>When I have a look to my data, it seems that there is a mistake in the column <code>dimBow</code>:
  <a href="https://i.stack.imgur.com/QjMNX.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/QjMNX.jpg" alt="enter image description here"></a></p>
  
  <p>The sign <code>"\"</code> here is prohibiting the separator <code>","</code> to take effect.</p>
  
  <p>I have tried to remove the <code>"\"</code> from the column <code>dimBow</code>, but without sucess with</p>
  
  <pre><code>   t$dimBow&lt;-gsub("\", "", t$dimBow)
  </code></pre>
  
  <p>I don't see why this command is not doing anything. I can remove all the other special characters, but not <code>"\"</code></p>
  
  <p>This file was generated by me, so if I find a way to remove all of the <code>"\"</code> in this sample, I could create in the future other files without the <code>"\"</code>.</p>