updated with RStudio changes