Working with pretty big data in R