Skip to content
Prev 256813 / 398506 Next

for loop performance

Reading data, e.g. with read.table can be slow because it does a fair
bit of checking content, guessing data types etc. So I guess the
question is: how is your data stored (files, in what format,
database) and how do you read it into R? 

Once we know this there may be tricks to speed up the data import.
Probalby not - I would guess it's the parsing of the input data that
is slow.

cu
	Philipp