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"))
``

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.