google-code-export / rcaller

Automatically exported from code.google.com/p/rcaller
Other
1 stars 0 forks source link

Same code working on my laptop, not working on the server #8

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I don't know if this is a real issue or I'm missing something; anyway I'm 
having this behaviour: i have some Java code; when it runs on my laptop (the 
Operative System is Ubuntu 12.04) all works pretty good; RCaller is able in 
executing and writing the xml file with the result and it is able in parsing 
the written XML file; when I try the same code on the server machine (Operative 
Systes is RHEL), I get an error because the generated XML file is empty; I was 
thinking to something related to some error in my R code, so I copied the R 
code executed by RCaller and I tried it by opening a terminal window on my 
server and using the R interpreter (always on the server machine) and all works 
pretty good; I'm able in executing the R code and in writing the XML file in 
any directory....Do you have any idea on how I may solve this issue?

Thank you
Angelo

Original issue reported on code.google.com by angelo...@gmail.com on 18 Jul 2013 at 8:21

GoogleCodeExporter commented 9 years ago
Hi... i'm actuallu running through the same issue. In my computer everything 
works fine. But a budy is unable to run it on its computer... of course we have 
the same code.

What did you do to resolve this? Please, help me, i would be really thankful

Original comment by enscant...@gmail.com on 22 May 2014 at 4:13

GoogleCodeExporter commented 9 years ago
how did you install R on the computer where it doesn't work? I faced this issue 
since i compiled all the R and I was wrong in seting the R path in the my 
RCaller code....try to check the path of R interpreter

Original comment by angelo...@gmail.com on 22 May 2014 at 5:17

GoogleCodeExporter commented 9 years ago
it's the same path... i've already checked it

Original comment by enscant...@gmail.com on 22 May 2014 at 5:48

GoogleCodeExporter commented 9 years ago
Did you try to execute the R code you want to execute in RCaller in the R 
console? If during the execution the R interpreter goes wrong, this is 
propragated to Java by the error you have; basically if there is something 
wrong int ehte R code, the XML file where RCaller tries to read the results is 
not written and there is the error you have; try to check in the R console if 
the R code you want to execute is OK

Original comment by angelo...@gmail.com on 23 May 2014 at 7:00