fix error signalling in JRIEngine.eval