start new:
tmux
start new with session name:
tmux new -s myname
| /*=============================================================================== | |
| kemendes data covid per Kabupaten | |
| copyrigh of Sekolah stata 2020 | |
| ================================================================================*/ | |
| cd "D:\Proyek\17_Kemendes\2. Data\covid" | |
| *-------------------------------------------------------------------------------- | |
| * get data from kawal data | |
| *-------------------------------------------------------------------------------- |
| `dvtm` is one simple, easy-to-use terminal multiplexer. | |
| Commonly used Options: | |
| -v prints version information to standard output, then exits. | |
| -m <mod> set default modifier at runtime. | |
| -d escdelay set the delay ncurses waits before deciding if a character that | |
| might be part of an escape sequence is actually part of an | |
| escape sequence. | |
| -h nnn set the scrollback history buffer size at runtime. |
| set.seed(42) | |
| dat <- rnorm(1) | |
| shinyServer(function(input, output) { | |
| fetchData <- reactive(function() { | |
| invalidateLater(1000) | |
| qt <- rnorm(1) | |
| dat <<- c(dat, qt) | |
| dat | |
| }) | |
| output$plot_dat <- reactivePlot(function() { plot(fetchData(), type='l') }) |
| recode <- function(df, ..., match = c("first", "last")) { | |
| match <- match.arg(match) | |
| cases <- lapply(list(...), as.case) | |
| if (identical(match, "last")) cases <- rev(cases) | |
| n <- nrow(df) | |
| out <- rep(NA, length(n)) # logical will be upcast as needed | |
| # Simple loop-y implementation |