3 ms·
FWIW `scan()` is going to be much faster if you are just reading doubles from standard input than `as.numeric(readLines())`.
by thebelal 7y ago
FWIW `scan()` is going to be much faster if you are just reading doubles from standard input than `as.numeric(readLines())`.