csv
read.csv is identical to read.table except that the default separator is a comma
con = file("foo.txt", "r") data = read.csv(con) close(con)
is the same as
data <- read.csv("foo.txt")
write.csv(myDataFrame, file = "MyData.csv")