Loading...
 

Edit Section: Ubuntu 16.04 LTS for Human Beans


x
 
!!!# R
!!!!# R v3.4.x
Si empres R, et caldran paquets extra de sistema per a instal·lar alguns paquets d'R i eines habituals associades (git, svn, etc). Pots posar les dependències habituals amb:
{CODE(colors="bash", wrap="1", caption="Command on a console")}
sudo apt-get install -y  r-recommended  r-cran-xml libgraphviz-dev libcairo2-dev r-cran-cairodevice freeglut3 freeglut3-dev r-cran-rglpk r-cran-rgl r-cran-misc3d libx11-dev libxt-dev libcurl4-gnutls-dev libxml2-dev r-cran-xml libgraphviz-dev libcairo2-dev bwidget tk-table libv8-dev r-cran-rjava libmpfr-dev libc6 libssl-dev texlive-latex-extra texlive-lang-spanish libx11-dev libxml2-dev libxml2:i386 libxt-dev r-cran-misc3d subversion git texmaker tk-dev unaccent xvfb libgdal1-dev libproj-dev r-cran-rmysql libmagick++-dev r-cran-rcolorbrewer r-cran-doparallel libssh2-1-dev libudunits2-dev libgdal-dev libgeos-dev libproj-dev libjq-dev libprotobuf-dev protobuf-compiler libssl-dev libcairo2-dev dos2unix pandoc r-cran-rmio
{CODE}
Usual R packages that are useful in many cases. You can install them in an R console in a terminal (Type "R" in the terminal to launch the R console), or through RStudio command line:
{CODE(colors="r", ln="1", caption="Command on an R console")}
install.packages(c("devtools", "plotly", "Nozzle.R1", "VennDiagram", "stringr", "xml2", "parallel", "data.table", "doParallel", "xtable", "plyr", "dplyr", "reshape2", "rjson", "d3heatmap", "htmlwidgets", "googleVis", "doMC", "Rcmdr", "knitr", "checkpoint", "XLConnect", "sem", "rmarkdown", "relimp", "effects", "aplpack", "flexdashboards", "addinslist", "tidyverse", "magick", "webshot", "pacman", "officer", "flextable", "huxtable"))
{CODE}
{CODE}
!!!!# R v3.5.x
Si necessites R 3.5.x en Ubuntu 16.04, pots afegir un repositori extra amb les següents de sota, després de llegir aquest advertiment:
{REMARKSBOX()}
No tots els paquets d'R es poden instal·lar sobre R 3.5.x en Ubuntu 16.04. A data d'avui, he vist que -+xml2+-, per exemple, no s'instal·la per aquest tipus de problema {sign user="Xavier" datetime="2019-03-18T14:27:49+00:00"}:
{CODE(caption="Advertiment")}
/usr/include/unicode/ucnv.h:585:1: note: C++11 ‘noexcept’ only available with -std=c++11 or -std=gnu++11
{CODE}
I per tant, els que depenen de xml2 tampoc: -+sparklyr+-, ...
{REMARKSBOX}
Instruccions:
{CODE(colors="bash", ln="1", caption="Command on a console")}
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys E298A3A825C0D65DFD57CBB651716619E084DAB9
sudo add-apt-repository 'deb https://cloud.r-project.org/bin/linux/ubuntu xenial-cran35/' # main binary packages for R 3.5.x
sudo add-apt-repository -y ppa:marutter/c2d4u3.5 # extra binary packages for R 3.5.x from the usual marruter repo
sudo apt update
sudo apt upgrade
{CODE}
Si estàs actualitzant des d'una versió d'R anterior, et poden ser útils aquestes instruccions de terminal de sistema:
{CODE(colors="bash", ln="1", caption="Command on a console")}
sudo chmod 777 /usr/lib/R/site-library /usr/lib/R/site-library/* -R
sudo chmod 777 /usr/lib/R/library /usr/lib/R/library/* -R
sudo chmod 777 /usr/share/R/doc/html/* -R
{CODE}
I aquestes altres de consola d'R:
{CODE(colors="r", ln="1", caption="Command on an R console")}
update.packages(ask = F, lib="/usr/lib/R/site-library")
{CODE}
Change HighlighterToggle Highlighter
  • Sitemap
To translate, do not change the language and the content. Instead, create a new translation in the new language.
The namespace for a page is guessed automatically from the page name. However, some exceptions may arise. This option allows to override the namespace.

Search and select what you are looking for from the options that appear.

No matching results.

days
Image Seed: noun \ˈsēd\ : the beginning of something which continues to develop or grow

Knowledge seeds

Switch Language