-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathnote.R
More file actions
26 lines (18 loc) · 963 Bytes
/
note.R
File metadata and controls
26 lines (18 loc) · 963 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# some quick commend to use
# this is a setup file
library("blogdown")
list.of.packages <- c("blogdown", "ggplot2", "data.table","plyr","QuantPsyc", "ggh4x", "ggforce",
"glmnet","leaps","randomForest","gbm","caret","xgboost","Ckmeans.1d.dp",
"DiagrammeR", "knitr", "here",
"curl", "gplots", "dendextend", "colorspace",
"raster", "Hmisc", "plyr", "RColorBrewer", "googledrive", "usmap",
"SHAPforxgboost",
# "leafletCN", "rgdal", "ggsn", # can no longer install
"maps", "mapproj", "ggmap",
"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()