I am working with a data.frame
in R
that I want to export (write) as a sas7bdat file. The package that I am using is haven
when I use the command line:
write_sas(df, "newsasdata.sas7bdat")
I get the following error:
Error in write_sas_(data, normalizePath(path, mustWork = FALSE)) :
Writing failure: A row of data will not fit into the file format.