summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgebele <gebele@in-silico.ch>2018-01-15 12:05:43 +0000
committergebele <gebele@in-silico.ch>2018-01-15 12:05:43 +0000
commit7b5ea0296826173ed71c2dedcff1a5c981286d94 (patch)
tree04816859f3ee379e494fc274ce6490116256fe0e
parent495e8a2b98e0332018f55e7d77f4477ef888b70d (diff)
added R packages test
-rw-r--r--lib/lazar.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/lazar.rb b/lib/lazar.rb
index fff5598..32f0317 100644
--- a/lib/lazar.rb
+++ b/lib/lazar.rb
@@ -50,6 +50,7 @@ rlib = File.expand_path(File.join(File.dirname(__FILE__),"..","R"))
# http://stackoverflow.com/questions/19619582/number-of-processors-cores-in-command-line
NR_CORES = `getconf _NPROCESSORS_ONLN`.to_i
R = Rserve::Connection.new
+R.eval ".libPaths('#{rlib}')"
R.eval "
suppressPackageStartupMessages({
library(labeling,lib=\"#{rlib}\")