From 81e4e3aa4d533c1e92ad14a794b692b92880168e Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Tue, 9 Oct 2012 19:41:41 -0700 Subject: [PATCH] start the R process first --- sweavealike.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sweavealike.pm b/sweavealike.pm index c3dad53..0dd0e1b 100644 --- a/sweavealike.pm +++ b/sweavealike.pm @@ -119,6 +119,8 @@ sub preprocess { chdir($config{srcdir}); $pagestate{$param{page}}{$id}{R} = Statistics::R->new(shared => 1) or error("Unable to create an R process"); + $pagestate{$param{page}}{$id}{R}->start() or + error("Unable to start the R process"); chdir($cur_dir); } # we currently don't bother to support anything but outputing the -- 2.39.2