| library(shiny) | |
| library(shinyAce) | |
| modes <- getAceModes() | |
| themes <- getAceThemes() | |
| foo <- function() { | |
| pb <- progress_bar$new( | |
| format = " [:bar] :current/:total (:percent) eta: :eta", | |
| total = 5, clear = FALSE) | |
| for(i in 1:5) { | |
| pb$tick() | |
| Sys.sleep(1) | |
| } | |
| } | |
| init <- " | |
| ## Seccion 1 | |
| Abrir Help menu = F1 | |
| # | |
| Usted puede incluir chunks con operaciones, abajo un ejemplo. | |
| ```{r} | |
| 2*3 | |
| ``` | |
| " | |