Reputation: 763
When I tried to use data.table in my R project a warning saying "data.table 1.12.8 using 4 threads (see ?getDTthreads). Latest news: r-datatable.com" appears in the console.
I had tried to update the data.table but it was up to date.
library(data.table)
data.table 1.12.8 using 4 threads (see ?getDTthreads). Latest news: r-datatable.com
Is there any better way to load data than data.table? Does data.table slows my R project? if yes what are the memory-efficient alternatives available?
Thanks
Upvotes: 3
Views: 845
Reputation: 16697
Too long for comment so posting as an answer.
It is not slowing down but it is speeding up. Most of R packages will use single core, data.table on your machine will use 4 by default. This message is not a warning but a package startup message.
And addressing your questions precisely...
- there is no better way to load data than data.table ;)
- data.table does not slow down your project
- alternatives are coding C or C++ and using that in R
Upvotes: 7