{"action":"created","issue":{"url":"https://api.github.com/repos/chrisrzhou/RShiny-EC2Bootstrap/issues/4","labels_url":"https://api.github.com/repos/chrisrzhou/RShiny-EC2Bootstrap/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/chrisrzhou/RShiny-EC2Bootstrap/issues/4/comments","events_url":"https://api.github.com/repos/chrisrzhou/RShiny-EC2Bootstrap/issues/4/events","html_url":"https://github.com/chrisrzhou/RShiny-EC2Bootstrap/pull/4","id":124262126,"number":4,"title":"Add swap section","user":{"login":"alex23lemm","id":611112,"avatar_url":"https://avatars.githubusercontent.com/u/611112?v=3","gravatar_id":"","url":"https://api.github.com/users/alex23lemm","html_url":"https://github.com/alex23lemm","followers_url":"https://api.github.com/users/alex23lemm/followers","following_url":"https://api.github.com/users/alex23lemm/following{/other_user}","gists_url":"https://api.github.com/users/alex23lemm/gists{/gist_id}","starred_url":"https://api.github.com/users/alex23lemm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alex23lemm/subscriptions","organizations_url":"https://api.github.com/users/alex23lemm/orgs","repos_url":"https://api.github.com/users/alex23lemm/repos","events_url":"https://api.github.com/users/alex23lemm/events{/privacy}","received_events_url":"https://api.github.com/users/alex23lemm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-29T20:12:29Z","updated_at":"2015-12-29T20:35:12Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/chrisrzhou/RShiny-EC2Bootstrap/pulls/4","html_url":"https://github.com/chrisrzhou/RShiny-EC2Bootstrap/pull/4","diff_url":"https://github.com/chrisrzhou/RShiny-EC2Bootstrap/pull/4.diff","patch_url":"https://github.com/chrisrzhou/RShiny-EC2Bootstrap/pull/4.patch"},"body":"There is a more elegant way to cope with the limited amount of memory of an Amazon T2.micro EC2 instance when trying to  install packages like `dplyr`, `tidyr`, or `ggvis.`\r\n\r\nInstead of copying the uncompiled files from your local machine to the T2.micro instance as suggested in the original guide, you can create and enable a swap file.\r\n\r\nAfter that you can install those packages in the usual manner on the T2.micro instance. My additions are just the summary of the respective article from the Digital Ocean guys which I also added to the reference section. \r\n\r\n"},"comment":{"url":"https://api.github.com/repos/chrisrzhou/RShiny-EC2Bootstrap/issues/comments/167873191","html_url":"https://github.com/chrisrzhou/RShiny-EC2Bootstrap/pull/4#issuecomment-167873191","issue_url":"https://api.github.com/repos/chrisrzhou/RShiny-EC2Bootstrap/issues/4","id":167873191,"user":{"login":"chrisrzhou","id":4425362,"avatar_url":"https://avatars.githubusercontent.com/u/4425362?v=3","gravatar_id":"","url":"https://api.github.com/users/chrisrzhou","html_url":"https://github.com/chrisrzhou","followers_url":"https://api.github.com/users/chrisrzhou/followers","following_url":"https://api.github.com/users/chrisrzhou/following{/other_user}","gists_url":"https://api.github.com/users/chrisrzhou/gists{/gist_id}","starred_url":"https://api.github.com/users/chrisrzhou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chrisrzhou/subscriptions","organizations_url":"https://api.github.com/users/chrisrzhou/orgs","repos_url":"https://api.github.com/users/chrisrzhou/repos","events_url":"https://api.github.com/users/chrisrzhou/events{/privacy}","received_events_url":"https://api.github.com/users/chrisrzhou/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T20:35:12Z","updated_at":"2015-12-29T20:35:12Z","body":"Thanks @alex23lemm! This is way better and thanks for adding/maintaining to this guide :)"}}