Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can change foreign to haven? #14

Open
yuyangyoung opened this issue Sep 23, 2019 · 4 comments · May be fixed by #23
Open

Can change foreign to haven? #14

yuyangyoung opened this issue Sep 23, 2019 · 4 comments · May be fixed by #23

Comments

@yuyangyoung
Copy link

This package uses foreign. always cause ##empty string is not valid in Stata's documented format.
haven::write_dta will not

@jackobailey
Copy link

Just to add to this point -- it would be useful to use haven instead of foreign as foreign only supports Stata up to version 7 and we're now on version 15. One annoying feature of using foreign over haven is that it drops value labels, which haven does not. Judging by the code, this would not be a difficult update to make.

@hughmarera
Copy link

@jackobailey i think you can make your point without spreading fake news. FYI foreign reads Stata 5-12. See https://cran.r-project.org/web/packages/foreign/

@jackobailey
Copy link

@hughmarera And you could be more polite than to accuse someone who made a simple mistake of "spreading fake news".

@hughmarera
Copy link

@jackobailey my apologies

@eveyp eveyp linked a pull request Nov 4, 2021 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants