Joel
Joel

Reputation: 1690

R data.table fread suppress messages

When I use fread to read large data files (lets say 250MB) using the following statement

myFile<-fread(rawFile,skip=1,sep=",",header=FALSE)

It always gives read status of the file like

Read 2859078 rows and 6 (of 6) columns from 0.272 GB file in 00:00:05

I tried methods like suppressMessages to suppress this. But it doesn't work.

Is there any data.table specific command to do this?

Upvotes: 11

Views: 3176

Answers (1)

konvas
konvas

Reputation: 14366

Use fread(file,..., showProgress = FALSE)

Upvotes: 18

Related Questions