I want to copy/paste a file from one folder to another folder in windows using R, but it\'s not working. My code:
> file.rename(from=\"C:/Users/msc2/Desk
Please just be aware that file.rename will actually delete the file from the "from" folder. If you want to just make a duplicate copy and leave the original in its place, use file.copy instead.
file.rename
file.copy