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

Cannot Read Big Endian Files #9

Open
billdenney opened this issue Sep 8, 2016 · 2 comments
Open

Cannot Read Big Endian Files #9

billdenney opened this issue Sep 8, 2016 · 2 comments

Comments

@billdenney
Copy link

I have a file that I received which is a big-endian sas7bdat file. When I try to read it with read.sas7bdat, I get this error:

Error in read.sas7bdat(file.path(datadir, "myfile.sas7bdat")) : 
  big endian files are not supported

Is there any plan to support reading big endian files?

@BioStatMatt
Copy link
Owner

It is possible, but not yet implemented. Have you tried sas7bdat.parso or
the haven packages for R?

On Thu, Sep 8, 2016 at 5:32 AM, Bill Denney [email protected]
wrote:

I have a file that I received which is a big-endian sas7bdat file. When I
try to read it with read.sas7bdat, I get this error:

Error in read.sas7bdat(file.path(datadir, "myfile.sas7bdat")) :
big endian files are not supported

Is there any plan to support reading big endian files?


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#9, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAqMugfrhAw1KNkGLjgfXwAxZ6Xoqgfqks5qn-QvgaJpZM4J32EC
.

@billdenney
Copy link
Author

After trying this, I found that both sas7bdat.parso and the development version of haven (not the version on CRAN right now) can open my files.

Maybe a helper to other users could be to make error messages in read.sas7bdat point the user to those other packages?

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

No branches or pull requests

2 participants