-
Notifications
You must be signed in to change notification settings - Fork 16
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
load not working #75
Comments
load() should return a dictionary with keys being the names of the variables you provided to the save(). |
It does what it says, but, as you might know, .rdata file can store multiple objects. So load() tries to convert all of them into appropriate Julia equivalents and returns the result as a dictionary. What you want is probably .rds file, which only stores the single object. But you have to use saveRDS() function in R to generate it, and the filename should have .rds extension. |
It's not a bug. I assume that in your case the Julian dataframe matches the one in R. |
Yes, the |
There are some comments in the code. But since there's no specification of the format, neither a clear understanding where unsupported features may appear in real life, it's difficult to write an issue that somebody can pick up and work on. We will fix the format issues when people will discover them. But if there's anyone volunteering to review the format changes and implement them, she/he is most eagerly welcome. |
Hi,
On my side, I might be able to help analyze the issue, but I am mainly an R user, never looked into its source code... Cheers! |
Hi Alexey, I just did. Hope it will (somehow..) help!
Le sam. 7 nov. 2020 à 20:34, Alexey Stukalov <notifications@github.com> a
écrit :
… @reumle <https://github.com/reumle> Sure. You can open the issue, and the
PRs that improve the behaviour are welcome.
The v3 format is, in principle, supported, but there are special
situations (like the ones that cause warnings or #74
<#74>) that needs to be fixed.
It would be nice if the issue(s) are focused on those.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#75 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN46QH6IBKOIK4DGXLGFPOTSOWONRANCNFSM4OHOUGIA>
.
|
In R:
titanic <- data.frame(Titanic); save(titanic, file = "titanic.rdata")
In Julia:
titanic = RData.load("titanic.rdata", convert=true)
Does not result in a DataFrame as I think
convert=true
suggests it would.The text was updated successfully, but these errors were encountered: