Answers for "how to save a file as a csv R"

2

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")
Posted by: Guest on March-29-2021

Browse Popular Code Answers by Language