title: Generating a (random) sequence of multiple characters in R
body: <ol>
  <li><p>I can create a sequence of single letters using</p>
  
  <pre><code>LETTERS[seq( from = 1, to = 10 )]
  letters[seq( from = 1, to = 10 )]
  </code></pre></li>
  <li><p>I can create a random string of various length, using the <code>random</code> package</p>
  
  <pre><code>library(random)
  string &lt;- randomStrings(n=10, len=5, digits=TRUE, upperalpha=TRUE,
                    loweralpha=TRUE, unique=TRUE, check=TRUE)
  </code></pre></li>
  </ol>
  
  <p>Unfortunately, I cannot use the <code>set.seed</code> function for example <code>2</code>.</p>
  
  <p>Is there a way to create the same (random) combination of (unique) strings everytime one runs a R-file?</p>
  
  <p>My result would look like this (with the same result everytime I run the function):</p>
  
  <pre><code>       V1     
    [1,] "k7QET"
    [2,] "CLlWm"
    [3,] "yPuwh"
    [4,] "JJqEX"
    [5,] "38soF"
    [6,] "xkozk"
    [7,] "uaiOW"
    [8,] "tZcrW"
    [9,] "8K4Cc"
   [10,] "RAhuU"
  </code></pre>