-
Notifications
You must be signed in to change notification settings - Fork 0
/
Installation for Windows and macOS.R
55 lines (43 loc) · 2.05 KB
/
Installation for Windows and macOS.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
install.packages("rJava", type = "source") # Sys.setenv(JAVA_HOME="C:/Program Files/Java/jdk-10.0.1/")
## MacOS: sudo R CMD javareconf
install.packages("devtools", dependencies = TRUE)
install.packages("tidyverse", dependencies = TRUE)
install.packages("xlsx", dependencies = TRUE, type="source", INSTALL_opts=c("--no-multiarch"))
install.packages("openxlsx", dependencies = TRUE)
install.packages("reshape2", dependencies = TRUE)
install.packages("curl", dependencies = TRUE)
install.packages("dplyr", dependencies = TRUE)
install.packages("MASS", dependencies = TRUE)
install.packages("plyr", dependencies = TRUE)
install.packages("quantmod", dependencies = TRUE)
install.packages("zoo", dependencies = TRUE)
install.packages("ggplot2", dependencies = TRUE)
install.packages("TTR", dependencies = TRUE)
install.packages("signal", dependencies = TRUE)
install.packages("pracma", dependencies = TRUE)
install.packages("foreach", dependencies = TRUE)
install.packages("foreach", dependencies = TRUE)
install.packages("broom", dependencies = TRUE)
install.packages("gridExtra", dependencies = TRUE)
install.packages("baseline", dependencies = TRUE)
install.packages("feather", dependencies = TRUE)
install.packages("e1071", dependencies = TRUE)
install.packages('matrixStats', dependencies = TRUE)
# For package fifer:
url <- "https://cran.r-project.org/src/contrib/Archive/fifer/fifer_1.1.tar.gz"
pkgFile <- "fifer_1.1.tar.gz"
download.file(url = url, destfile = pkgFile)
# Install dependencies
install.packages(c('party', 'plotrix', 'randomForestSRC', 'Hmisc', 'fields', 'randomForest', 'xtable'))
install.packages(c('randomForest', 'xtable'))
# Install package
install.packages(pkgs=pkgFile, type="source", repos=NULL)
# Delete package tarball
unlink(pkgFile)
library('devtools', 'rJava')
install.packages("BiocManager")
BiocManager::install("BiocStyle")
BiocManager::install("remotes")
BiocManager::install("EBImage")
BiocManager::install("aoles/RBioFormats", dependencies = TRUE, INSTALL_opts=c("--no-multiarch"))
## INSTALL_opts=c("--no-multiarch") # for Windows 64bit and R-64bit only!