Clone all your gists locally with R

January 2, 2013

(This article was originally published at mages' blog, and syndicated at StatsBlogs.)

I really like gists as a quick way to include more lengthly code snippets into my blog posts. However, I am not a git user as such, and so I was quite concerned when I noticed that all my gists on this blog had vanished after Christmas. I suppose this was a result of Github's downtime on December 22nd.

Thankfully an email to the support guys at Github resolved the issue within a few hours. Still, I thought it might be a good idea to download my gists locally.

I can see all my gists as a JSON file online here:

Thus, I downloaded the file and thanks to the RJSONIO package I was able to clone all my gists locally with a few lines of R:
Read more »

Please comment on the article here: mages' blog

Tags: , , ,




Fatal error: Allowed memory size of 67108864 bytes exhausted (tried to allocate 6161783 bytes) in /home/blogs/public_html/wp-includes/formatting.php on line 453