Interestingly, rio relies on the data.table package to read/write plain text files, and always return a simple data frame (even when using Haven to import Stata files). #rstats
data.table
#rstats