title: How to programmatically generate vector of Unicode characters
body: <p>I am trying to make a long list of unicode characters
  "\u1", "\u2", "\u3", ... "\u10000"</p>
  
  <p>I tried</p>
  
  <pre><code>paste0("\u",1:10000)
  </code></pre>
  
  <p>However the backslash is treated as an escape character and I get an error.</p>
  
  <p>How can I insert the backslash into my character strings without it being treated as an escape character?</p>
  
  <p>(I realise this question has been tackled before,
  <a href="https://stackoverflow.com/questions/26284507/escaping-a-backslash-with-a-backslash-in-r-produces-2-backslashes-in-a-string-n">Escaping a backslash with a backslash in R produces 2 backslashes in a string, not 1</a>
  but the solution of using <code>cat("\\")</code> does not work for my situation)</p>