Read large text files by splitting them in smaller files. Package bigreadr also provides some convenient wrappers of fread/fwrite.