X-Git-Url: https://git.donarmstrong.com/?a=blobdiff_plain;f=sweavealike.pm;h=0dd0e1b5ed8260650c629908cf66b7c983f61a89;hb=81e4e3aa4d533c1e92ad14a794b692b92880168e;hp=c3dad531655181ce6a0a9dcb8fef7e24e9a52fd7;hpb=b5d253a49bf86b2b20c273b5bc833ccc7a37e565;p=ikiwiki_plugins.git 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