title: How do I gsub an empty "" string in R?
body: <p>How do I replace an empty string?</p>
  
  <p>This:</p>
  
  <pre><code>x = c("","b")
  gsub("","taco",x)
  </code></pre>
  
  <p>produces: </p>
  
  <pre><code>"taco"      "tacobtaco"
  </code></pre>
  
  <p>instead of: </p>
  
  <pre><code>"taco"      "b"
  </code></pre>
  
  <p>Is there any way to replace an empty string?</p>