Closed schlegelp closed 3 years ago
An immediate update that might help: if I save the file in format version 2 (instead of 3), it is parsed just fine.
It seems that 238 is the code for ALTREP representations (https://blog.revolutionanalytics.com/2017/09/altrep-preview.html) in version 3 format. Those are not used in version 2, and that is why it worked if you save it into that version. I could try to have a look on how that framework works, and try to translate the default ALTREPs, and maybe allow users to provide callbacks for custom ones.
That would obviously be my preferred solution :)
If that's not possible for some reason, I would perhaps suggest a more verbose error message. Something along the lines of "ALTREP representations not (yet) supported. Try re-saving in format 2."
I have tried your dataset with the feature/altrep_support
branch and it seemed to work. Can you confirm that it also works for you?
Neat, that works! Thanks a bunch! Do you have an ETA for this to make it to PyPI? Just asking because I'd like to use it as dependency in my package?
I wanted to merge the PR and upload it.
Uploaded now. Altrep is supported in version 0.5.
Hi! First off: very cool package - definitely a big help for people (such as myself) who are working with both R and Python.
I'm trying to parse an R object that is effectively a collection of named lists, data.frames and other simple attributes, and I'm running into this error:
I hope that's a fixable issue but in case it's not, I was wondering if it was possible to implement something that let's you simply skip errors and return only what could be parsed?
This is with Python
3.7.5
and rdata0.4
on OSX10.14.6
.Also in case that's helpful for debugging, this is the culprit: DA1_test.rda.zip