Skip to main content
Cooper Levi
Choose A Good Heart Not a Good Face.
Asked a question 5 months ago

how to read data in r?

Where am I?

In answerQA you can ask and answer questions and share your experience with others!

Jack Ezra
My moral in life is simple, you treat me good and I'll definitely treat you better.

To read a CSV file, we use the in-built function read.csv() that outputs the data from the file as a data frame. 

For example:

read .data <- read.csv("file1.csv") print(read. data)