Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
linux-config
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Walmes Marques Zeviani
linux-config
Commits
622d926e
Commit
622d926e
authored
May 9, 2021
by
Walmes Marques Zeviani
Browse files
Options
Downloads
Patches
Plain Diff
Improves installation of R packages.
parent
410aef6a
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
install_R.sh
+10
-5
10 additions, 5 deletions
install_R.sh
install_ubuntu.sh
+8
-17
8 additions, 17 deletions
install_ubuntu.sh
with
18 additions
and
22 deletions
install_R.sh
+
10
−
5
View file @
622d926e
...
@@ -251,7 +251,9 @@ if [ $opcao -eq 1 ]
...
@@ -251,7 +251,9 @@ if [ $opcao -eq 1 ]
then
then
echo
"Instalando os pacotes mais usados do CRAN."
echo
"Instalando os pacotes mais usados do CRAN."
espeak
-v
pt
"Instalando os pacotes mais usados do CRAN."
espeak
-v
pt
"Instalando os pacotes mais usados do CRAN."
Rscript
-e
\
mkdir
-p
/home/walmes/R/x86_64-pc-linux-gnu-library/4.0
ls
/home/walmes/R/x86_64-pc-linux-gnu-library/4.0
sudo
Rscript
-e
\
'pkg <- c("agricolae", "AlgDesign", "alr4", "animation", "asbio",
'pkg <- c("agricolae", "AlgDesign", "alr4", "animation", "asbio",
"bbmle", "bookdown", "cairoDevice", "car", "contrast",
"bbmle", "bookdown", "cairoDevice", "car", "contrast",
"corrplot", "curl", "data.table", "debug", "devtools",
"corrplot", "curl", "data.table", "debug", "devtools",
...
@@ -276,9 +278,10 @@ then
...
@@ -276,9 +278,10 @@ then
"tikzDevice", "tm", "topicmodels", "tuber", "tweedie",
"tikzDevice", "tm", "topicmodels", "tuber", "tweedie",
"waffle", "wordcloud", "XML", "xml2", "xtable");
"waffle", "wordcloud", "XML", "xml2", "xtable");
# lib <- "/usr/lib/R/site-library";
# lib <- "/usr/lib/R/site-library";
# repos <- "http://cran-r.c3sl.ufpr.br/";
lib <- "/home/walmes/R/x86_64-pc-linux-gnu-library/4.0";
# install.packages(pkg, dep = TRUE, lib = lib, repos = repos);
repos <- "http://cran-r.c3sl.ufpr.br/";
install.packages(pkg, dep = TRUE);
install.packages(pkg, dep = TRUE, lib = lib, repos = repos);
# install.packages(pkg, dep = TRUE);
cat("\n\n\nInstalações concluídas!\n")'
cat("\n\n\nInstalações concluídas!\n")'
echo
"Pacotes do R foram instalados do CRAN."
echo
"Pacotes do R foram instalados do CRAN."
espeak
-v
pt
"Pacotes do R foram instalados do CRAN."
espeak
-v
pt
"Pacotes do R foram instalados do CRAN."
...
@@ -295,7 +298,9 @@ then
...
@@ -295,7 +298,9 @@ then
espeak
-v
pt
"Instalando os pacotes mais usados do GitHub."
espeak
-v
pt
"Instalando os pacotes mais usados do GitHub."
sudo
apt-get
install
libavfilter-dev
-y
sudo
apt-get
install
libavfilter-dev
-y
Rscript
-e
\
Rscript
-e
\
'devtools::install_github("rstudio/xaringan");
'lib <- "/home/walmes/R/x86_64-pc-linux-gnu-library/4.0";
.libPaths(new = lib);
install.packages("xaringan");
devtools::install_github("gadenbuie/xaringanExtra");
devtools::install_github("gadenbuie/xaringanExtra");
devtools::install_github("jhelvy/xaringanBuilder");
devtools::install_github("jhelvy/xaringanBuilder");
devtools::install_github("rstudio/chromote");
devtools::install_github("rstudio/chromote");
...
...
This diff is collapsed.
Click to expand it.
install_ubuntu.sh
+
8
−
17
View file @
622d926e
...
@@ -27,17 +27,9 @@ sudo rm -i /etc/apt/sources.list.d/SOME-NAME.list
...
@@ -27,17 +27,9 @@ sudo rm -i /etc/apt/sources.list.d/SOME-NAME.list
# sudo apt-get install emacs emacs-goodies-el -y
# sudo apt-get install emacs emacs-goodies-el -y
sudo
apt-get
install
build-essential
-y
sudo
apt-get
install
build-essential
-y
sudo
add-apt-repository ppa:kelleyk/emacs
sudo
add-apt-repository ppa:kelleyk/emacs
-y
sudo
apt-get update
sudo
apt-get update
# sudo apt-get install emacs26 -y
sudo
apt-get
install
emacs
-y
sudo
apt-get
install
emacs
-y
# ATTENTION: do NOT install `emacs-goodies-el` anymore. It brings only
# `bm` package. The others are not used in my `init.el`.
# `emacs` installls the following components:
# emacs25 emacs25-bin-common emacs25-common emacs25-el
emacs
--version
# = 26.3
emacs
--version
# = 26.3
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
...
@@ -161,7 +153,6 @@ sudo add-apt-repository ppa:linuxuprising/shutter- y
...
@@ -161,7 +153,6 @@ sudo add-apt-repository ppa:linuxuprising/shutter- y
# sudo add-apt-repository --remove ppa:linuxuprising/shutter
# sudo add-apt-repository --remove ppa:linuxuprising/shutter
sudo
apt-get update
&&
sudo
apt-get
install
shutter
-y
sudo
apt-get update
&&
sudo
apt-get
install
shutter
-y
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# GitKraken.
# GitKraken.
...
@@ -243,7 +234,7 @@ texdoc probsoln tikz pgfplots abntex2 abntex2cite-alf abntex2cite
...
@@ -243,7 +234,7 @@ texdoc probsoln tikz pgfplots abntex2 abntex2cite-alf abntex2cite
# Google Chrome.
# Google Chrome.
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
-P
~/Downloads/
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
-P
~/Downloads/
sudo
apt
install
~/Downloads/google-chrome-stable_current_amd64.deb
sudo
apt
install
~/Downloads/google-chrome-stable_current_amd64.deb
-y
# Solves: Google Chrome Asks Password to Unlock Login Keyring
# Solves: Google Chrome Asks Password to Unlock Login Keyring
# https://tipsonubuntu.com/2017/12/20/google-chrome-asks-password-unlock-login-keyring/
# https://tipsonubuntu.com/2017/12/20/google-chrome-asks-password-unlock-login-keyring/
...
@@ -439,10 +430,10 @@ sudo snap install scrcpy
...
@@ -439,10 +430,10 @@ sudo snap install scrcpy
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
# OBS-Studio, Kdenlive and Audacity.
# OBS-Studio, Kdenlive and Audacity.
sudo
add-apt-repository ppa:obsproject/obs-studio
-y
sudo
add-apt-repository ppa:obsproject/obs-studio
-y
&&
\
sudo
add-apt-repository ppa:kdenlive/kdenlive-stable
-y
sudo
add-apt-repository ppa:kdenlive/kdenlive-stable
-y
&&
\
sudo
add-apt-repository ppa:ubuntuhandbook1/audacity
-y
sudo
add-apt-repository ppa:ubuntuhandbook1/audacity
-y
&&
\
sudo
apt update
sudo
apt update
&&
\
sudo
apt
install
obs-studio kdenlive kde-style-breeze audacity
-y
sudo
apt
install
obs-studio kdenlive kde-style-breeze audacity
-y
#-----------------------------------------------------------------------
#-----------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment