Description of issue - I need to open a SAS file protected by a password in R studio.
Is it possible? If so, how?
I tried opening with the import icon on the menu, and also, with the code below
library(haven)
name of the SAS file <- read_sas("Desktop/path to the file",
File has unsupported compression scheme
ReadStat: Error parsing page 0, bytes 1024-119807
Error in df_parse_sas_file(spec_data, spec_cat, encoding = encoding, catalog_encoding = catalog_encoding, :
Failed to parse /path to the file: File has unsupported compression scheme.
System Information:
- RStudio Edition: (Desktop or Server): Desktop
- RStudio Version: Version 1.3.1093
- OS Version: Big Sur 11.2
- R Version:
-
sessionInfo():
Referred here from support.rstudio.com