only install R if not already installed