diff options
author | gebele <gebele@in-silico.ch> | 2017-11-14 17:30:00 +0100 |
---|---|---|
committer | gebele <gebele@in-silico.ch> | 2017-11-14 17:30:00 +0100 |
commit | 571f8de14080af5e6cdfa05124b3dc01f608c011 (patch) | |
tree | a832b4e7250db5410939a2bc588afa6d763a7205 /lib/lazar.rb | |
parent | 9a3351d18986f54db6f8f3fe118fb34ea4baec23 (diff) |
remove rpackages
Diffstat (limited to 'lib/lazar.rb')
-rw-r--r-- | lib/lazar.rb | 5 |
1 files 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 |