simplified install2.r