copy file from one folder to other folder in R

Hi,

I have a requirement which i need to copy excel file from one folder another folder and also want to rename the file with date format in R. sorry if my question is meaningless.

You can do it with file.copy()

file.copy(from = "path/to/your_file.xlsx", paste0("destination/path/", Sys.Date(), ".xlsx"))
``