title: "%s" random concatenation in R
body: <p>I am looking for a way to concatenate a string or a number (3 digits at least) into a save file.
  For instance, in python I can use <code>'%s' % [format(str), format(number)])</code> and add it to csv file with a random generator.</p>
  <p>How do I generate a random number into a format in R?
  That is my save file and I want to add a random string or a number in the end of the file name:</p>
  <pre><code>file = paste(path, 'group1N[ADD FORMAT HERE].csv',sep = '')
  
  file = paste(path, 'group1N.csv',sep = '') to become -- &gt;
  
  file = paste(path, 'group1N212.csv',sep = '') or file = paste(path, 'group1Nkut.csv',sep = '') 
  </code></pre>
  <p>after using a random generator of strings or numbers and appending it to the save .csv file, each time it is saved, as a random generated end of file</p>