Embedding R Snippets on your website

You can add a Snippets box to your website with the following code:

This gives you a basic code box that looks like so:

Adding your own R code

You can preload R code into the box. To do this, paste your R code here, click the button, and we'll make a custom embed code for you.

Under the hood, all this does is URI-encode the R code and pass it to the 'code' GET query parameter.

Resizing the box

Change the 'width' and 'height' attributes in the embed code. It's a standard HTML iframe tag, and the content should resize appropriately for most sizes. For example, if you want a tall but narrow box, you might do:

I want to use this for a classroom/website backend/BI system/other high volume usage


No matter what you're using it for, we'd love to hear what you're up to.

If you're planning to use more than one request per ten seconds, please email us so we can provision appropriately.

Is there a programmatic API available?

Yes. Please email for more information. It is so much easier than screenscraping.

My business depends on this and I need an SLA

We'd love to hear from you.