Condensed from this post (and comments) on David Chudzicki’s blog, tweaked, and updated for R-2.13.1.
Assumes you’re starting with a virgin “Amazon Linux” AMI. I picked “Basic 64-bit Amazon Linux AMI 2011.02.1 Beta” (AMI Id: ami-8e1fece7) because it was marked as free tier eligible on the “Quick Start” tab of AWS’s “Launch Instance” dialog box:
As always, refer to the Installation and Administration manual for details and options.
If you want to install RCurl, or anything which depends on it like twitteR, you’ll need to install libcurl & friends first: