how to export r as a csv file code example
Example: 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")
# to store in the current directory
write.csv(data, "data.csv")
# to store in a separate directory
write.csv(data, "file_path\\data.csv")