Answers for "create file in r"

R
1

create file in 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")
Posted by: Guest on September-21-2021

Browse Popular Code Answers by Language