-
Notifications
You must be signed in to change notification settings - Fork 24
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 R lists #8
Comments
Would you be so kind of indicating what exactly is wrong? |
From the preadr readme, known limitations section : Lists are not read The limitation comes from librdata. I have filed an issue but it will take time to eventually get fixed. |
Hey @ofajardo, I noticed that your issue was recently solved by this pull request. I am working on a project that could use this update. Are you already working on fixing this issue? Do you have a time horizon on when to fix this issue? Thanks :) |
Hi Joao |
Otto, Unfortunately I am not attending the EuroPython, but I'll definitely check out the talks online. About the problem, I actually need more than dates. My current Do you know any other solution to read those besides |
interesting. Actually that shape file is an S3 object of class "sf" that is just on top of a normal data frame (which in turn is an object on top of a list). You can check this in R by doing class(shapeobject). As far as my knowledge goes you are out of luck and you will have to rely on rpy2. R interoperability is awful and most of the times you will need R in order to read R objects. The only other choice is to save them in some more interoperable format. =( You can also submit an issue to librdata directly asking for support to read this objects. As they are on top of a data frame maybe it is not too hard for them to implement it, but no idea. If they implement the support then I can take that and expose it from pyreadr. |
Oh, now I see that the geometry this dataframe contains nested objects which seems to be built on top of a list of matrices (?). In addition of not reading lists, Librdata can also not read nested objects in dataframes, and in addition it does not read the dimensions of matrices, so supporting correctly this looks far fetched. |
Hey, thanks for the attention. I think we are changing the format to something more interpretable. Then we don't need to rely on several libraries to be updated. But, if you think that the problem is interesting, this may have great value to future geo projects :) |
Issue tracked here: WizardMac/librdata#32 |
It gets wrong results when I load a RData.Here is the file
FILE
The text was updated successfully, but these errors were encountered: