immunarch uses immundata, which uses
duckplyr, which runs queries in DuckDB. It
is quite a journey from the data to your plots.
DuckDB can use many CPU cores by default to run faster, but sometimes you want to limit this.
Put this near the start of your tutorial/script:
# Limit the number of CPU threads used by DuckDB in this R session
duckplyr::db_exec("SET threads TO 1")Change later (example: use 4 threads) or reset to default:
duckplyr - dplyr powered by DuckDB: https://duckplyr.tidyverse.org (CRAN:
duckplyr).
db_exec - https://duckplyr.tidyverse.org/reference/db_exec.html
DuckDB configuration docs - thread/memory settings and more: https://duckdb.org/docs/stable/configuration/overview.html
Need a high-speed mirror for your open-source project?
Contact our mirror admin team at info@clientvps.com.
This archive is provided as a free public service to the community.
Proudly supported by infrastructure from VPSPulse , RxServers , BuyNumber , UnitVPS , OffshoreName and secure payment technology by ArionPay.