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

Support for gz-compressed RData files #225

Closed
alyst opened this issue Apr 8, 2019 · 1 comment · Fixed by #308
Closed

Support for gz-compressed RData files #225

alyst opened this issue Apr 8, 2019 · 1 comment · Fixed by #308

Comments

@alyst
Copy link
Contributor

alyst commented Apr 8, 2019

In JuliaData/RData.jl#57 we have ran into problems with gzip-compressed R Data file with non-registered extension (.Rda). Since none of FileIO-registered extensions were matched, load() was trying to detect the format by looking into magic bytes. Naturally, the file was detected as gzip archive.

Would it be possible to fix the way RData files are registered in FileIO, so that gzipped files with non-standard extension are correctly recognized as RData? Is there a generic way to specify that the given file format could exist in compressed and uncompressed forms? (It would be useful not only for RData, but e.g. for compressed XML, SVG)

@SimonDanisch
Copy link
Member

previous discussion: #32

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.

2 participants