revised for RStudio 0.98b