title: Replace two dots in a string with gsub
body: <p>I'm trying to use the following code to replace two dots for only one: </p>
  
  <pre><code>test&lt;-"test..1"
  gsub("\\..", ".", test, fixed=TRUE)
  </code></pre>
  
  <p>and getting:</p>
  
  <pre><code>[1] "test..1"
  </code></pre>
  
  <p>I tried several combinations of escape strings, including brackets [] with no success.<br>
  What am I doing wrong?</p>