From b745fd3d3154e0a1a4a86f46a1ea3ac59092a576 Mon Sep 17 00:00:00 2001 From: Luke Smith Date: Thu, 5 Jul 2018 11:38:05 -0400 Subject: [PATCH] R Markdown now installed if selected --- src/larbs.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/larbs.sh b/src/larbs.sh index eb264d2..7a52d37 100755 --- a/src/larbs.sh +++ b/src/larbs.sh @@ -90,7 +90,12 @@ make make install cd /tmp -# R markdown install. +# Install R Markdown if R was chosen and installed. +[[ -e /usr/bin/R ]] && ( +dialog --infobox "Installing R Markdown..." 4 40 +cp /home/$name/.Rprofile ~ 2>/dev/tty6 +echo "install.packages('rmarkdown')" | R -q --no-save 2>/dev/null) + dialog --infobox "Enabling Network Manager..." 4 40 systemctl enable NetworkManager