catalog_file
ignored in read_sas()
when file created on Unix system
#696
Labels
catalog_file
ignored in read_sas()
when file created on Unix system
#696
Having to work with SAS files created a unix system (SAS 9.4), we observed the following using
read_sas()
with acatalog_file
(haven 2.5.1, R 4.2.1):The catalog file (sas7bcat) seems to be ignored (no message, no error) if created on Unix, while
read_sas()
works as expected for catalog files created on windows, irrespective of the system that the corresponding data file was created on.The attached zip contains a reproducible example with recreations of haven's example sas data sets
hadley.sas7bdat
andformats.sas7bcat
in different variations: both were recreated twice using eitherAll data sets have
wlatin1
encoding.Both data files can be read with the Windows catalog file with formats being applied as expected, but no formats are available when using the Unix catalog file.
The text was updated successfully, but these errors were encountered: