various small fixes

most significant one is removal of the Rfolder variable. Most systems have `Rscript` in `$PATH` rather than in `~/bin`.