Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
read_sas failure for one (encoding issue?) #336
First of all thank you for this great package to import SAS datasets into R.
I encountered an issue when reading this file (you will have to unzip it). This is the error:
> read_sas('grocencodingviet.sas7bdat') Unsupported character set code: 68 Error in df_parse_sas_file(spec_data, spec_cat, encoding = encoding, cols_only = cols_only) : Failed to parse grocencodingviet.sas7bdat: File has an unsupported character set.
I tried to set several
I can succesfully read it in SAS 9.3, with the following note:
Please find below R session infos:
R version 3.3.2 (2016-10-31) Platform: x86_64-pc-linux-gnu (64-bit) Running under: Debian GNU/Linux 8 (jessie) locale:  en_US.UTF-8 attached base packages:  stats graphics grDevices utils datasets methods base other attached packages:  haven_1.1.0 rj_2.0.5-2 loaded via a namespace (and not attached):  readr_1.1.1 R6_2.2.2 magrittr_1.5 hms_0.3 tools_3.3.2  rj.gd_2.0.0-1 tibble_1.3.3 Rcpp_0.12.9 forcats_0.2.0 rlang_0.1.1
I tried with the latest github version (22.214.171.12400, commit ff69f3e) but it didn't solve the problem.
Thank you very much in advance for your help.