get R version by launching R and running R.Version()