Arrow

  • The arrow package allows you to read and write parquet files, a fast binary file format that can be shared across programming languages.

  • Parquet tends to be much faster than RDS and is usable outside of R, but does require the arrow package.

library(arrow)
write_parquet(students, "students.parquet")
read_parquet("students.parquet")