A binary-safe file read function in C/C++/PHP that returns the specified number of bytes from a stream
Read.table is basic R function which reads a file in table format and creates a data frame from it, with cases corresponding to lines and variables to fields in the file.
Fast read.csv large
"For reading large csv files you should either use readr read_csv or data.table fread as both are much faster than base read.table"
from question "How do I import a large (6 Gb) .csv file into R efficiently and quickly, without the R REPL crashing?"
"Fread ... is extremely fast 10 - 100 times faster than read.table ... or read.csv ... for large datasets"
from question "Vectorize combining two matrices in R"
"Fread performs faster and more efficiently than read.table but read.table produces less no errors on the same data set"
from question "R workarounds: fread versus read.table"
"Interestingly for 1 million rows per file the optimised version of read.csv and read.table take 422 and 430 more time than fread whilst without optimisation this leaps to around 1500 and 1005 longer"
from question "Reading in all files with a specific extension"
"You might want to give the data.table package a try check out the fread function which is much faster than read.table"
from question "R vegan simper analysis running out of memory"