getMode | R Documentation |
Use getMode()
if you need to differentiate between server
and desktop installations of RStudio.
getMode()
"desktop" for RStudio Desktop installations, and "server" for RStudio Server / RStudio Workbench installations.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.