Le 09/04/2019 à 10:14, Audric Vigier a écrit :
On 09/04/2019 09:13, Audric Vigier wrote:
Salut,
Je viens de ré-essayer en installant R 3.5.3, en lui installant rJava, lhs et sensitivity. Les warning sont partis sous R (ils n'étaient pas importants), mais j'ai toujours le même problème avec ISIS.
Je viens aussi de tester si dans les faits, ISIS pour pourrait quand même foncitonner avec R (appel depuis une règle); ça ne marche pas. J'ai évalué une règle avec cette fonction:
static public void main (String...args) throws Exception {
//System.out.println(System.getProperty("java.home"));
double paramHake=10;
// Open R session REngine engine = new RProxy(); // R session
// Call an R script writing a new transition matrix for hake (only ONE matrix for hake) engine.voidEval("NewCV<-"+Double.toString(paramHake)+"") ; engine.voidEval("source(\"C:/Users/3053464/these/isis-fish-4.4.2.2/input/updateHakeTransitionMatrix.R\")");
}
Tu pourrais tester en appelant : fr.ifremer.isisfish.util.RUtil.initJri(); au début du main ? -- Éric Chatellier - www.codelutin.com - 02.40.50.29.28