Access the RStudio API (if available) and provide informative error
messages when it's not.

Homepage:
https://CRAN.R-project.org/package=rstudioapi
