From 571f8de14080af5e6cdfa05124b3dc01f608c011 Mon Sep 17 00:00:00 2001 From: gebele Date: Tue, 14 Nov 2017 17:30:00 +0100 Subject: remove rpackages --- lib/lazar.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib/lazar.rb b/lib/lazar.rb index fff5598..1b10bf9 100644 --- a/lib/lazar.rb +++ b/lib/lazar.rb @@ -45,11 +45,12 @@ when "development" end # R setup -rlib = File.expand_path(File.join(File.dirname(__FILE__),"..","R")) +#rlib = File.expand_path(File.join(File.dirname(__FILE__),"..","R")) # should work on POSIX including os x # http://stackoverflow.com/questions/19619582/number-of-processors-cores-in-command-line NR_CORES = `getconf _NPROCESSORS_ONLN`.to_i R = Rserve::Connection.new +=begin R.eval " suppressPackageStartupMessages({ library(labeling,lib=\"#{rlib}\") @@ -66,7 +67,7 @@ suppressPackageStartupMessages({ registerDoMC(#{NR_CORES}) }) " - +=end # OpenTox classes and includes CLASSES = ["Feature","Substance","Dataset","LazarPrediction","CrossValidation","LeaveOneOutValidation","RepeatedCrossValidation","Experiment"]# Algorithm and Models are modules -- cgit v1.2.3