How to Import Data into RStudio

Опубликовано: 06 Октябрь 2024
на канале: Data Flow
258
10

In this video, I will discuss how to import different types of data sets into RStudio. Formats include .csv, .txt, and .xlsx. I also briefly talk about how to export data from RStudio.

R functions covered:
Base R: read.table, read.csv, read.csv2, read.delim
In readr: read_csv, read_tsv, read_delim, write_csv, write_excel_csv
In read.xlsx: read_excel
In xlsx: read.xlsx
The "Import Dataset" tab in RStudio

References:
Importing Data by Quick-R: https://www.statmethods.net/input/imp...
Importing Data Into R by STHDA: http://www.sthda.com/english/wiki/imp...
Importing Data: https://intro2r.com/importing-data.html from (e-book An Introduction to R)
Importing Data into R with readr: https://ehsanx.github.io/intro2R/impo... (e-book Introduction to R for health data analysis)
Importing Dataset Tab: https://pubs.wsb.wisc.edu/academics/a... (e-book Analytics Using R)

Software Package:
RStudio: https://posit.co/