Skip to content
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

RCaller DataFrame fails when passing data to R in Windows OS #29

Open
george-kakarontzas opened this issue May 4, 2017 · 0 comments
Open

Comments

@george-kakarontzas
Copy link

george-kakarontzas commented May 4, 2017

Running the test class in https://github.com/jbytecode/rcaller/blob/master/RCaller/src/test/java/com/github/rcaller/datatypes/DataFrameTest.java in windows 10 fails in two tests as shown below. My best guess is the way that the data frame data is transferred to R according to the manual (https://github.com/jbytecode/rcaller/blob/master/doc/rcaller3/rcaller3.pdf, page 6). There it mentions that "In order to obtain the best performance and avoid any data loss, RCaller exports the data contained in the DataFrame object as a csv file. The path of the file will be transferred to R and it will be imported using the function read.csv on the R side.". Maybe in the path that is transferred backslashes are not escaped properly for windows OS?
Tests in error:
writeBigDataFrame(usertests.DataFrameTest): R command failed with error. Reason: Error: '\d' is an unrecognized escape in character string starting ""c:\d"
writeDataFrameToRAndGetMean(usertests.DataFrameTest): R command failed with error. Reason: Error: '\d' is an unrecognized escape in character string starting ""c:\d"

Tests run: 13, Failures: 0, Errors: 2, Skipped: 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant