From 2c5a050641d5400843facfc65e58a2bef5d87422 Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 24 Jan 2024 12:22:09 -0500 Subject: Multithreaded R package compilation --- .local/bin/Rinstall | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to '.local/bin/Rinstall') diff --git a/.local/bin/Rinstall b/.local/bin/Rinstall index 8d2857e..a4ee1c5 100755 --- a/.local/bin/Rinstall +++ b/.local/bin/Rinstall @@ -1,5 +1,4 @@ #!/bin/sh -for f in $* - do - sudo R --vanilla -e "install.packages('"$f"', repos='http://cran.us.r-project.org')" +for f in $*; do + sudo R --vanilla -e "install.packages('"$f"', repos='http://cran.us.r-project.org', Ncpus=10)" done -- cgit v1.2.3