-
Notifications
You must be signed in to change notification settings - Fork 2
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
Long arrays wrongly converted from Julia to R #20
Comments
Works OK for me with the CRAN version of the package, running under MacOSX 10.12:
|
From EDIT: I re-installed the version 0.7.8 (the CRAN version being 0.7.7 if I'm not wrong), and the problem was solved! Thank you for answering so quickly. |
You're right though. It's a bug introduced in the modifications for 0.7.9. I'll try to track it down, but not for a few days. Thanks for the report. |
Turned out to be an easy fix; for the new fast transfer of data, the Julia side needs to convert Int64 arrays to Int32 before writing. Also incremented the version number and added a draft vignette on data transfer. Anyone reading this, please try out transferring long(er) arrays, which should now be much faster. |
Hi,
I noticed a strange problem when playing with long arrays and passing them from R to Julia. When creating arrays of length
<1000
, no problem:returns:
However, if the array length exceeds
1001
, the value returned to R is as follow:Zeros are inserted between the values of the array that Julia returns. Is there any way to correct that?
Thank you very much!
Olivia
The text was updated successfully, but these errors were encountered: