added support for rstudio