-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathnote.R
25 lines (17 loc) · 866 Bytes
/
note.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# some quick commend to use
# this is a setup file
library("blogdown")
list.of.packages <- c("ggplot2", "data.table","plyr","QuantPsyc", "ggh4x", "ggforce",
"glmnet","leaps","randomForest","gbm","caret","xgboost","Ckmeans.1d.dp",
"DiagrammeR", "knitr", "here",
"curl", "gplots", "dendextend", "colorspace",
"raster", "rgdal", "Hmisc", "plyr", "RColorBrewer", "googledrive", "usmap",
"SHAPforxgboost",
"leafletCN",
"devtools", "drake", "reshape2", "scatterplot3d", "readr")
new.packages <- list.of.packages[!(list.of.packages %in% installed.packages()[,"Package"])]
if(length(new.packages)) install.packages(new.packages)
here::here()
blogdown::stop_server()
blogdown::serve_site()
blogdown::build_site()