I've started to put all R snippets that I use for my own convenience into an R-package. In reference to the e1071 package I called it after my office number.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.