title: How to move files from one folder to another in R?
body: <p>I know this question has been asked before, but there is a slight variation than just using the file.rename() function. </p>
  
  <p>I created a variable that uses the setdiff function to compare what files Folder 1 has that Folder 2 does not. There are about ~100 files in Folder 1 that Folder 2 does not have, based on name of the file. I wanted to move these 100 files into Folder 3. </p>
  
  <p>How would I go about doing that?</p>
  
  <p>Would I use an if then statement?</p>