## R for Statistics and Graphics (Lecture 1) ## Mehmet Tevfik DORAK ## 19 April 2019 ## Web link: http://www.dorak.info/r ## Dropbox link: https://www.dropbox.com/sh/zb0ngw22rrbvnas/AADb1l_LHgtqBDy2BCwpVRowa?dl=0 ## This script is for installing all necessary packages for this course ## If these are not already installed, please go ahead. ## Open this file on R via Files/Open Script.. ## Highlight the text in Section 1 and press CTRL + R;repeat this for each section ## Section 1 ## Select the mirror site to download the packages from: chooseCRANmirror() # Select one of the sites in Turkey and press OK ## Run the following command to downloadd and install all of those packages in one go: install.packages(c("fBasics", "psych", "DataExplorer", "epiR", "rmeta", "pwr", "corrgram", "DescTools", "readxl", "xlsx", "plotrix", "pROC", "tidyverse", "ggthemes", "Rcmdr", "RColorBrewer", "grid", "animation", "ggdendro", "ctv", "survival", "logspline", "quantmod"), dependencies = TRUE) ## Section 2 install.packages(c("reshape2", "pastecs", "Hmisc", "moments", "ellipse", "gridExtra", "car", "wordcloud", "spatstat", "Rcpp", "magrittr", "tm", "SnowballC", "twitteR", "imager", "scales", "TSP", "magick", "patchwork", "datasets"), dependencies = TRUE) ## Section 3 library('ctv') install.views('Phylogenetics') ## Section 4 ## DevTools installation: devtools::install_github("thomasp85/patchwork") ## Section 5 ## Run the command below and see if additional downloads are necessary: library(Rcmdr) # install any missing programs ## Section 6 (MANUAL download and installation) ## For manual installation of RTools. go to: https://cran.r-project.org/bin/windows/Rtools ## Download the recommended (green line) version of RTools like any other windows exe program # Last updated on Monday, 15 April, 9:00 BST