summaryrefslogtreecommitdiff
path: root/.local/bin/Rinstall
diff options
context:
space:
mode:
Diffstat (limited to '.local/bin/Rinstall')
-rwxr-xr-x.local/bin/Rinstall5
1 files changed, 2 insertions, 3 deletions
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