Создать файл в r
#To create a folder
dir.create ("<C:/.../folder_name>") #include full file path
#To add files to the folder
file.create ("C:/.../folder_name/new_csv_file.csv")
#To delete files
unlink ("C:/.../folder_name/new_csv_file.csv")
Kwams