-sub preprocess_scan {
- my %param = @_;
- # start the R process here for this page
- if (not defined $pagestate{$param{page}}{$id}{R}) {
- $pagestate{$param{page}}{$id}{R} = Statistics::R->new(shared => 1) or error("Unable to create an R process");
- }
+sub getsetup {
+ return(plugin => {safe => 1,
+ rebuild => 1,
+ section => "misc",
+ link => "http://git.donarmstrong.com/?p=ikiwiki_plugins.git;a=blob;f=sweavealike.pm;hb=HEAD",
+ description => "sweavealike plugin",
+ },
+ );