export variables in csv file from R 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")