Input of raw VDS data is fragile.
Reading raw data with perl saving to file, can sometimes crash, and they you're messed up.
A few fixes in R can help. When reading raw data, try piping through sqldf to remove duplicate entries. Also be more robust in the read command.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.