search for: numbers0

Displaying 1 result from an estimated 1 matches for "numbers0".

Did you mean: numbers
2017 Sep 08
1
Optimize code to read text-file with digits
On 8 September 2017 at 11:25, PIKAL Petr <petr.pikal at precheza.cz> wrote: > > Moller Skarbiniks Pedersen > My program which is slow looks like this: > > > > filename <- "digits.txt" > > lines <- readLines(filename) > > why you do not read a file as a whole e.g. by > > lines<-read.table("digits.txt") > Good idea.