Answers for "creating and writing to a csv file r"

R
3

write csv in r

df <- data.frame(name = c("Jon", "Bill", "Maria"),
                 age = c(23, 41, 32))

write.csv(df,"C:\Users\Ron\Desktop\MyData.csv", row.names = FALSE)
Posted by: Guest on December-10-2020

Code answers related to "creating and writing to a csv file r"

Browse Popular Code Answers by Language