Here is a presentation I gave at an R meetup talking about memory issues in R.
Gerhard's PAWGOV presentation
This is some thing I started working on trying to use R in ways that it should not be to recreaate the 2048 game along with some AI to play it for you.