Skip to content
Back to formatted view

Raw Message

Message-ID: <QKbl_OM-1WUBkfci2GFuvFY4wZlLFLxozU7pZ2oab06n5Xc580eIOoubjcO9IdKKPHzpmf_O4qpM9_KDZoiM5A==@protonmail.ch>
Date: 2017-02-20T13:41:12Z
From: Luí­s Moreira de Sousa
Subject: JRI: obtain error messages from the R engine

Dear all,

I am using JRI to execute a number of computations using the R engine. As pointed in various tutorials out there in the web I am using the eval method of the Rengine class, e.g.:

engine.eval("meanVal=mean(rVector)");

At some point the eval method starts returning NULL, which according to the documentation means "something went wrong". However, I can not identify in the Rengine class a property or a method that would provide an error message, error status or R console output to identify the cause. Is there any way to obtain detailed information on what might be happening?



Thank you.

Lu?s
	[[alternative HTML version deleted]]