Quantcast

RExcel RInterface.RRun() issue

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

RExcel RInterface.RRun() issue

philjoubert
Hi guys

If I send a setwd() command to R via RRun which contains backslash characters, Excel hangs. In the RGui I see an error message:
"Error: '\J' is an unrecognized escape in character string starting "setwd('\\server054\J""
and after a while a message box appears in excel saying that "Microsoft Office Excel is waiting for another application to complete an OLE action."

If I click ok it thinks for a while before bringing up the same message over and over.

I know the problem is the backslashes, that was a typo on my part. The problem I have is that RExcel doesnt handle the error properly. The problem does not happen for other invalid R commands sent via RRun (in that case I get meaningful errors).

Any ideas? Should this be a bugreport, or is it a known issue?

Runnable code snippet would be:

RInterface.StartRServer
RInterface.RRun("\\server054\Juliett")

phil
Loading...