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, 5 insertions, 0 deletions
diff --git a/.local/bin/Rinstall b/.local/bin/Rinstall
new file mode 100755
index 0000000..8d2857e
--- /dev/null
+++ b/.local/bin/Rinstall
@@ -0,0 +1,5 @@
+#!/bin/sh
+for f in $*
+ do
+ sudo R --vanilla -e "install.packages('"$f"', repos='http://cran.us.r-project.org')"
+done