Upload 2 files
Browse files
global.R
ADDED
@@ -0,0 +1,33 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
library(shiny)
|
2 |
+
library(shinyAce)
|
3 |
+
modes <- getAceModes()
|
4 |
+
themes <- getAceThemes()
|
5 |
+
|
6 |
+
|
7 |
+
|
8 |
+
foo <- function() {
|
9 |
+
pb <- progress_bar$new(
|
10 |
+
format = " [:bar] :current/:total (:percent) eta: :eta",
|
11 |
+
total = 5, clear = FALSE)
|
12 |
+
for(i in 1:5) {
|
13 |
+
pb$tick()
|
14 |
+
Sys.sleep(1)
|
15 |
+
}
|
16 |
+
}
|
17 |
+
init <- "
|
18 |
+
## Seccion 1
|
19 |
+
|
20 |
+
Abrir Help menu = F1
|
21 |
+
|
22 |
+
#
|
23 |
+
|
24 |
+
|
25 |
+
|
26 |
+
Usted puede incluir chunks con operaciones, abajo un ejemplo.
|
27 |
+
|
28 |
+
```{r}
|
29 |
+
2*3
|
30 |
+
```
|
31 |
+
|
32 |
+
"
|
33 |
+
|
init.R
ADDED
@@ -0,0 +1,4 @@
|
|
|
|
|
|
|
|
|
|
|
1 |
+
library(knitr)
|
2 |
+
library(ggplot2)
|
3 |
+
library(datasets)
|
4 |
+
library(magrittr)
|