R - Csv

Card Puncher Data Processing

About

csv

Management

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

Write

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

Documentation / Reference





Discover More
R Studio Import Dataset
R - Data frame Object

A data frame is a logical implementation of a table in a relational database A data frame inherits all the property and function of an object. It has a list of variables of the same number of rows with...



Share this page:
Follow us:
Task Runner