ANU BDSI
workshop Introduction to R programming
Biological Data Science Institute
3rd April 2024
data/data.csv
) or an absolute path (e.g. C:\\user/myproject/data.csv
) to point to the right location of the datagetwd()
and setwd()
, respectively..RData
, .rda
or rds
)..RData
, .rda
or rds
saves R objects so you don’t need the data to be in a data.frame.In RStudio Desktop, you can click on the file for importing via GUI.
readr::read_csv()
to read CSV files.readxl::read_xlsx()
to read Excel files.saveRDS()
(recommended) and multiple objects using save()
.10:00
anu-bdsi.github.io/workshop-intro-to-R/