-
Notifications
You must be signed in to change notification settings - Fork 21
/
rDeps.R
23 lines (20 loc) · 1.16 KB
/
rDeps.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
install.packages("data.table", repos = "http://cran.us.r-project.org")
install.packages("e1071", repos = "http://cran.us.r-project.org")
install.packages("mvtnorm", repos = "http://cran.us.r-project.org")
install.packages("parallel", repos = "http://cran.us.r-project.org")
install.packages("randomForest", repos = "http://cran.us.r-project.org")
install.packages("rmutil", repos = "http://cran.us.r-project.org")
install.packages("rphast", repos = "http://cran.us.r-project.org")
install.packages("snowfall", repos = "http://cran.us.r-project.org")
install.packages("devtools", repos = "http://cran.us.r-project.org")
library(devtools)
# Here a bug in current devtools 1.12.0 if the installation starts from a sub-folder.
r <- try( install_github("andrelmartins/bigWig", subdir="bigWig", force=TRUE) )
if ( class( r )== "try-error" )
stop("!!!!!Failed to install bigWig from github using install_github method.!!!!\n
You can install manually using the following commands:\n
---------------------------------------------------\n
git clone https://github.com/andrelmartins/bigWig.git\n
cd bigWig \n
R CMD INSTALL bigWig\n
---------------------------------------------------");