diff --git a/R/zzz.R b/R/zzz.R index 81f1596..efc9a1d 100644 --- a/R/zzz.R +++ b/R/zzz.R @@ -4,9 +4,11 @@ #' @param pkg pkg #' #' @importFrom utils packageVersion +#' @importFrom data.table setDTthreads #' @keywords internal .onAttach <- function(lib, pkg) { options(scipen = 6) + setDTthreads(0) # Check for new github release version. (Not master branch version, release version!) if (!interactive()) { return()