For R, install from here. For RStudio, install from here. We recommend you have the latest versions of both R and RStudio:
r version$version.string
Only for Git sessions, install Git from here.
Only for Bash/shell/terminal sessions. Mac OSX and Linux users will already have bash installed. For Windows users, install the Windows version of Git above to install Git Bash.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.