25 Nov 2017
Read data from connection:
data <- read.table(pipe("sed -n -e'5000001p' data.csv"), sep=',')
R
i/o