rstudio function

Check whether RStudio is in use