-
Notifications
You must be signed in to change notification settings - Fork 494
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
R integration with Dataverse #10307
Comments
Related:
@hamidtam do you have Rserve installed? I see you wrote "Integrate a different library to replace Rserve". |
Yes Rserve is installed, but as the other tickets indicate Rserve is unreliable. Given how RData is used by many on our side we were planning on looking at alternatives to fix this with other libraries. One of out plans is to integrate download options for SPSS, STATA, SAS files, something an existing R integration can do. |
the error you're getting is "connection refused." have you verified that Rserve is running, listening on the correct port, and that your jvm-options tell Dataverse how to connect? |
@donsizemore Thanks for your input Yes Rserve running locally, port 6311 default. Same errors previously.
jvm-options options set in through Payara
|
As I just said on slack, the fact that you are getting a flat out "connection refused" is suspicious. Is it just some MacOS firewall issue, and/or some weirdness with what it routes as "localhost"? This issue appears to have fallen through the cracks, apologies. |
I'll try to have replacing Rserve with either rJava or RCaller prioritized. That part may not be difficult at all. |
Issue fixed by moving from Mac OS environment to Linux. Feature to integrate download files from SPSS, STATA, SAS files was completed locally and waiting for testing and integration. |
What steps does it take to reproduce the issue?
Upload a new datafile to in dataset, download said RData version of datafile
When does this issue occur?
When attempting to download RData version of datafile
Which page(s) does it occurs on?
datafile page (access file button -> download options)
What happens?
Frontend error message:
No download, redirect to page:
{"status":"ERROR","code":404,"message":"datafile access error: requested optional service (image scaling, format conversion, etc.) could not be performed on this datafile."}
Backend error message:
Cannot connect: Connection refused|#]
To whom does it occur (all users, curators, superusers)?
testing was done with Admin account
What did you expect to happen?
Successful RData file download
Which version of Dataverse are you using?
6.0
Any related open or closed issues to this bug report?
https://groups.google.com/g/dataverse-community/c/JG6NkJ7ZQW0
Workaround Research:
Integrate a different library to replace Rserve,
JRI / rJava: https://www.rforge.net/JRI/
RCaller: https://github.com/jbytecode/rcaller
The text was updated successfully, but these errors were encountered: