6.2 Writing to a files
readr has a write_csv
and write_tsv
function
Use write_rds and read_rds (similar to readRDS and saveRDS)
feather
can be used to share data between languages (e.g., Python)
- haven: SPSS, Stata, and SAS files
- readxl: excel files (xls, xlsx)
- DBI + backend (RMySQL, RSQLite, RPostgreSQL, etc) to connect to databases
- jsonlite
- xml2
- rio