write.csv(Your DataFrame,"Path where you'd like to export the DataFrame\\File Name.csv", row.names = FALSE)
write.table(df, file = paste("myName.csv"),sep=",", row.names = FALSE) # row.names = FALSE removes the index of the rows