3  Read data

library(rtemis)
  .:rtemis 0.99.94 🌊 aarch64-apple-darwin20

rtemis’s read() function allows reading tabular data of various formats:

3.1 Delimited files

Delimited files, particularly when large and containing complex data, can be slow and/or difficult to parse. read()’s delim_reader argument allows to specify which package to use for reading delimited files. Available options:

  • data.table’s fread()
  • arrow’s read_delim_arrow()
  • vroom’s vroom()
  • duckdb’s duckdb_read_csv()

We also await the CRAN release of polars, the R port of the performant data frame structure written in Rust.

sonar <- read("~/Data/iris.csv")
2025-06-08 08:19:45  Reading iris.csv using data.table... [read]
2025-06-08 08:19:45 Read in 149 x 5 [read]
2025-06-08 08:19:45 Done in 0.01 seconds. [read]
© 2025 E.D. Gennatas