add better install code to R install path post