tidyverse / haven

Read SPSS, Stata and SAS files from R
https://haven.tidyverse.org
Other
424 stars 117 forks source link

How to solve non-ascii output for `write_xpt` #751

Open Longfei2 opened 7 months ago

Longfei2 commented 7 months ago

Abnormal data in xpt: image

Normal data in R: image

Longfei2 commented 7 months ago

Dear, There are not arguemnt like enconding to help output?

gorcha commented 1 month ago

Hi @Longfei2, thanks for the bug report.

Can you please provide a minimal reprex (reproducible example)? The goal of a reprex is to make it as easy as possible for me to recreate your problem so that I can fix it: please help me help you! If you've never heard of a reprex before, start by reading about the reprex package, including the advice further down the page. Please make sure your reprex is created with the reprex package as it gives nicely formatted output and avoids a number of common pitfalls.

Thanks!