I am trying to load a .sas7bdat file to R, but get the error
ReadStat: Expected 849278526 rows in file, found 611874762. Failed to parse "filepath": File did not contain the expected number of rows.
What does this error message mean?
My code is:
dataset <- read_sas("datapath", NULL)
This works for one dataset but does not for the other (larger) one
The loaded packages are: fst, tidyverse, dplyr, data.table, haven