R functions to deal with large data .