Skip to content

Commit 932f5c3

Browse files
bschilderclaude
andcommitted
Remove data.table thread limiting; add Rplots.pdf and *.tbi to .gitignore
setDTthreads(1) was silently throttling data.table performance for the entire R session. Let data.table use its default threading. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent fee0546 commit 932f5c3

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

.gitignore

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,6 @@ vignettes/*.R
4040
*.utf8.md
4141
*.knit.md
4242
# R Environment Variables
43-
.Renviron
43+
.Renviron
44+
*.tbi
45+
Rplots.pdf

R/zzz.R

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
.onLoad <- function(libname, pkgname){
22
requireNamespace("data.table")
3-
.datatable.aware <- TRUE
4-
data.table::setDTthreads(threads = 1)
3+
.datatable.aware <- TRUE
54
}

0 commit comments

Comments
 (0)