R - Csv

> Procedural Languages > R

1 - About

csv

3 - Management

3.1 - Read

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")
Advertising

3.2 - Write

write.csv(myDataFrame, file = "MyData.csv")

4 - Documentation / Reference