export segsites to R

this version has a strange (memory) bug, where the seg.sites statistic
is not created in the unittest for the last few examples, but the
exactly same command work perfectly before...