Hi Tomas,Sure, I'm gonna try that approach. That is actually what I had in mind when saying:
On 11/14/2014 05:59 AM, Tomas Pluskal wrote:
and this would probably mean having one instance of R for each task instead of a Singleton...
But for this, I first have to check if running several instances of Rengine causes any performances and/or memory "unacceptable" drawbacks, and I need to figure out the best way to shut down the Rengine relative to a given Task (when canceling the latter). I think the "rEngine.rniStop(0);" function should do the trick, but I need to get information about how this is working. I also gave a try to the "idleEval() <http://www.rosuda.org/r/nightly/javadoc/org/rosuda/JRI/Rengine.html#idleEval%28java.lang.String%29>" function, but it doesn't seem to be so non-blocking than the related documentation says...
Well, I keep you posted about all my discoveries ;) Cheers Gauthier -- Gauthier BOAGLIO CEFE - UMR 5175 1919 route de Mende F-34293 Montpellier cedex 5 Tel: +33/0 4 67 61 32 15 Fax: +33/0 4 67 61 33 36 email: gauthier.boag...@cefe.cnrs.fr www: http://www.cefe.cnrs.fr/en/evolutionary-ecology-and-epidemiology/gauthier-boaglio http://www.evolepid.org/people.php?name=boaglio
------------------------------------------------------------------------------ Comprehensive Server Monitoring with Site24x7. Monitor 10 servers for $9/Month. Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device. http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________ Mzmine-devel mailing list Mzmine-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mzmine-devel