R csv save code example
Example 1: export csv in r
# to store in the current directory
write.csv(data, "data.csv")
# to store in a separate directory
write.csv(data, "file_path\\data.csv")
Example 2: r write to csv
write.csv(Your DataFrame,"Path where you'd like to export the DataFrame\\File Name.csv", row.names = FALSE)