Update installallpkgs.R

This fixes #19 as suggested by Brian.