title: Escaping a backslash with a backslash in R produces 2 backslashes in a string, not 1
body: <p>I am using R &amp; R Studio on Linux Mint 13, and I am trying to get a string that looks like this:</p>
  
  <pre><code>domain\username
  </code></pre>
  
  <p>but when I do this:</p>
  
  <pre><code>usr &lt;- "domain\\username"
  </code></pre>
  
  <p>the resulting variable usr appears with two \ in it:</p>
  
  <pre><code>#[1] "domain\\username"
  </code></pre>
  
  <p>Everything I have found indicates that this is the proper way to do this, yet, this is what I get. Any suggestions? Is there a setting askew? </p>