summaryrefslogtreecommitdiff
path: root/lazar.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lazar.rb')
-rwxr-xr-xlazar.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lazar.rb b/lazar.rb
index bd802af..3bc441e 100755
--- a/lazar.rb
+++ b/lazar.rb
@@ -93,6 +93,7 @@ class Lazar < Model
@r.eval "p<-predict(model,sims)[1,1]"
regression = 10**(@r.p.to_f)
LOGGER.debug "Prediction is: '" + regression.to_s + "'."
+ @r.quit # free R
end