Debian Codegraph @

vignettes/intro_rhandsontable.Rmd

raw
1 ---
2 title: "rhandsontable Introduction"
3 author: "Jonathan Owen"
4 date: "`r Sys.Date()`"
5 output: rmarkdown::html_vignette
6 vignette: >
7 %\VignetteIndexEntry{rhandsontable Introduction}
8 %\VignetteEngine{knitr::rmarkdown}
9 \usepackage[utf8]{inputenc}
10 ---
11
12 ```{r echo = FALSE, warning = FALSE}
13 library(rhandsontable)
14 library(knitr)
15
16 opts_knit$set(warning = FALSE, error = FALSE, message = FALSE, cache = FALSE,
17 fig.width=7, fig.height=3)
18 ```
19
20 ## Introduction
21
22 **rhandsontable** is a htmlwidget based on the [handsontable.js](https://handsontable.com) library.
23
24 > Handsontable is a data grid component with an Excel-like appearance. Built in JavaScript, it integrates with any data source with peak efficiency. It comes with powerful features like data validation, sorting, grouping, data binding, formula support or column ordering.
25 ([via](https://handsontable.com))
26
27 ## Column Types
28
29 The table includes support for numeric, logical, character and Date types. Logical values will appear as check boxes, and the [pikaday.js](https://github.com/Pikaday/Pikaday) library is used to specify Date values.
30
31 rhandsontable attempts to map R classes to an appropriate handsontable type. Factors will be mapped to `dropdown`, with the choices specified by `level` and `allowInvalid` set to `FALSE`. To allow new levels, set `allowInvalid` to `TRUE` (using `hot_col`; it may also be desirable to set `strict` to `FALSE`). When running in `shiny`, using `hot_to_r` will preserve custom factor ordering, and if new levels are allowed, they will be added to the end.
32
33 ```{r}
34 DF = data.frame(integer = 1:10,
35 numeric = rnorm(10),
36 logical = rep(TRUE, 10),
37 character = LETTERS[1:10],
38 factor = factor(letters[1:10], levels = letters[10:1],
39 ordered = TRUE),
40 factor_allow = factor(letters[1:10], levels = letters[10:1],
41 ordered = TRUE),
42 date = seq(from = Sys.Date(), by = "days", length.out = 10),
43 stringsAsFactors = FALSE)
44
45 rhandsontable(DF, width = 600, height = 300) %>%
46 hot_col("factor_allow", allowInvalid = TRUE)
47 ```
48
49 To improve readability, `NA` values will be displayed as blank cells. This requires converting columns containing `NA` to characters, and in the case of factors and Dates, may not display the data in the desired format. It may be beneficial to convert these type of columns to character before passing to `rhandsontable`.
50
51 ```{r}
52 DF_na = data.frame(integer = c(NA, 2:10),
53 logical = c(NA, rep(TRUE, 9)),
54 character = c(NA, LETTERS[1:9]),
55 factor = c(NA, factor(letters[1:9])),
56 date = c(NA, seq(from = Sys.Date(), by = "days",
57 length.out = 9)),
58 stringsAsFactors = FALSE)
59
60 DF_na$factor_ch = as.character(DF_na$factor)
61 DF_na$date_ch = c(NA, as.character(seq(from = Sys.Date(), by = "days",
62 length.out = 9)))
63
64 rhandsontable(DF_na, width = 550, height = 300)
65 ```
66
67 ### Dropdown / Autocomplete
68
69 To control character column values, the column type can be specified as `dropdown` or `autocomplete`.
70
71 ```{r}
72 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
73 small = letters[1:10],
74 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
75 stringsAsFactors = FALSE)
76
77 # try updating big to a value not in the dropdown
78 rhandsontable(DF, rowHeaders = NULL, width = 550, height = 300) %>%
79 hot_col(col = "big", type = "dropdown", source = LETTERS) %>%
80 hot_col(col = "small", type = "autocomplete", source = letters,
81 strict = FALSE)
82 ```
83
84 ### Password
85
86 A column can also be specified as a `password` type.
87
88 ```{r}
89 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
90 small = letters[1:10],
91 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
92 stringsAsFactors = FALSE)
93
94 rhandsontable(DF, width = 550, height = 300) %>%
95 hot_col("small", "password")
96 ```
97
98 ### Sparkline
99
100 New in version 0.2, [sparkline.js](https://omnipotent.net/jquery.sparkline/) charts can be added to the table. Thanks to the sparkline package and Ramnath Vaidyanathan for inspiration.
101
102 ```{r}
103 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
104 small = letters[1:10],
105 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
106 stringsAsFactors = FALSE)
107
108 DF$chart = c(sapply(1:5,
109 function(x) jsonlite::toJSON(list(values=rnorm(10),
110 options = list(type = "bar")))),
111 sapply(1:5,
112 function(x) jsonlite::toJSON(list(values=rnorm(10),
113 options = list(type = "line")))))
114
115 rhandsontable(DF, rowHeaders = NULL, width = 550, height = 300) %>%
116 hot_col("chart", renderer = htmlwidgets::JS("renderSparkline"))
117 ```
118
119 ### Custom Renderer
120
121 It's also possible to define a custom column renderer function. For example, it may be desirable to include html in a cell. The example below mimics [Custom renderers](https://handsontable.com/docs/1.16.0/demo-custom-renderers.html).
122
123 ```{r fig.height = 5, fig.width = 8}
124 DF = data.frame(
125 title = c(
126 "<a href='http://www.amazon.com/Professional-JavaScript-Developers-Nicholas-Zakas/dp/1118026691'>Professional JavaScript for Web Developers</a>",
127 "<a href='http://shop.oreilly.com/product/9780596517748.do'>JavaScript: The Good Parts</a>",
128 "<a href='http://shop.oreilly.com/product/9780596805531.do'>JavaScript: The Definitive Guide</a>"
129 ),
130 desc = c(
131 "This <a href='http://bit.ly/sM1bDf'>book</a> provides a developer-level introduction along with more advanced and useful features of <b>JavaScript</b>.",
132 "This book provides a developer-level introduction along with <b>more advanced</b> and useful features of JavaScript.",
133 "<em>JavaScript: The Definitive Guide</em> provides a thorough description of the core <b>JavaScript</b> language and both the legacy and standard DOMs implemented in web browsers."
134 ),
135 comments = c(
136 "I would rate it &#x2605;&#x2605;&#x2605;&#x2605;&#x2606;",
137 "This is the book about JavaScript",
138 "I've never actually read it, but the <a href='http://shop.oreilly.com/product/9780596805531.do'>comments</a> are highly <strong>positive</strong>."
139 ),
140 cover = c(
141 "http://ecx.images-amazon.com/images/I/51bRhyVTVGL._SL50_.jpg",
142 "http://ecx.images-amazon.com/images/I/51gdVAEfPUL._SL50_.jpg",
143 "http://ecx.images-amazon.com/images/I/51VFNL4T7kL._SL50_.jpg"
144 ),
145 stringsAsFactors = FALSE
146 )
147
148 rhandsontable(DF, allowedTags = "<em><b><strong><a><big>",
149 width = 800, height = 450, rowHeaders = FALSE) %>%
150 hot_cols(colWidths = c(200, 200, 200, 80)) %>%
151 hot_col(1:2, renderer = "html") %>%
152 hot_col(1:3, renderer = htmlwidgets::JS("safeHtmlRenderer")) %>%
153 hot_col(4, renderer = "
154 function(instance, td, row, col, prop, value, cellProperties) {
155 var escaped = Handsontable.helper.stringify(value),
156 img;
157
158 if (escaped.indexOf('http') === 0) {
159 img = document.createElement('IMG');
160 img.src = value;
161
162 Handsontable.dom.addEvent(img, 'mousedown', function (e){
163 e.preventDefault(); // prevent selection quirk
164 });
165
166 Handsontable.dom.empty(td);
167 td.appendChild(img);
168 }
169 else {
170 // render as text
171 Handsontable.renderers.TextRenderer.apply(this, arguments);
172 }
173
174 return td;
175 }")
176 ```
177
178 For `shiny` apps, use `renderer = htmlwidgets::JS("safeHtmlRenderer")` to display columns with html data. The allowed html tags default to `<em><b><strong><a><big>`, but the (hidden) `allowedTags` parameter can in `rhandsontable` can be used to customize this list.
179
180 #### Custom Renderer using an R Parameter {#custom_renderer_using_r}
181
182 Additional parameters passed to `rhandsontable` will be available to the JavaScript widget via the `params` property.
183
184 ```{r}
185 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
186 small = letters[1:10],
187 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
188 stringsAsFactors = FALSE)
189
190 col_highlight = 2
191 row_highlight = c(5, 7)
192
193 rhandsontable(DF, col_highlight = col_highlight,
194 row_highlight = row_highlight,
195 width = 550, height = 300) %>%
196 hot_cols(renderer = "
197 function(instance, td, row, col, prop, value, cellProperties) {
198 Handsontable.renderers.TextRenderer.apply(this, arguments);
199
200 tbl = this.HTMLWidgets.widgets[0]
201
202 hcols = tbl.params.col_highlight
203 hcols = hcols instanceof Array ? hcols : [hcols]
204 hrows = tbl.params.row_highlight
205 hrows = hrows instanceof Array ? hrows : [hrows]
206
207 if (hcols.includes(col) && hrows.includes(row)) {
208 td.style.background = 'red';
209 }
210 else if (hcols.includes(col)) {
211 td.style.background = 'lightgreen';
212 }
213 else if (hrows.includes(row)) {
214 td.style.background = 'pink';
215 }
216
217 return td;
218 }")
219 ```
220
221 When using this approach in a shiny app or in a document with more than one widget, the widget search logic will need to be more robust.
222
223 ```
224 HTMLWidgets.widgets.filter(function(widget) {
225 // this should match the table id specified in the shiny app
226 return widget.name === "hot"
227 })[0];
228 ```
229
230 ## Right-Click Menu
231
232 Right-clicking in a cell will enable a context menu that includes customizable table actions via the `hot_context_menu` function. For shiny apps, formatting and comment updates made via the context menu are not currently retained.
233
234 To disable the context menu, set `contextMenu = FALSE` in `hot_table` (or `rhandsontable`).
235
236 ### Add / Remove Rows & Columns
237
238 By default a user can add or remove table rows and columns, but this functionality can be disabled. Note that Handsontable does not allow column be added or deleted to the table if column types are defined (i.e. `useTypes == TRUE` in `rhandsontable`).
239
240 ```{r}
241 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
242 small = letters[1:10],
243 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
244 stringsAsFactors = FALSE)
245
246 rhandsontable(DF, width = 550, height = 300) %>%
247 hot_context_menu(allowRowEdit = FALSE, allowColEdit = FALSE)
248 ```
249
250 ### Customizing
251
252 The `customOpts` parameter of `hot_context_menu` can be used to add custom functionality to the context menu. Below are a couple examples.
253
254 #### Export to CSV
255
256 This example illustrates how to add an option to export the table to a csv file.
257
258 ```{r, warning = FALSE}
259 MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
260 letters[1:5]))
261
262 rhandsontable(MAT, width = 550, height = 300) %>%
263 hot_context_menu(
264 customOpts = list(
265 csv = list(name = "Download to CSV",
266 callback = htmlwidgets::JS(
267 "function (key, options) {
268 var csv = csvString(this);
269
270 var link = document.createElement('a');
271 link.setAttribute('href', 'data:text/plain;charset=utf-8,' +
272 encodeURIComponent(csv));
273 link.setAttribute('download', 'data.csv');
274
275 document.body.appendChild(link);
276 link.click();
277 document.body.removeChild(link);
278 }"))))
279 ```
280
281 #### Search
282
283 This example illustrates how to enable the search functionality in Handsontable.
284
285 ```{r, warning = FALSE}
286 DF = data.frame(val = 1:10,
287 bool = TRUE,
288 big = LETTERS[1:10],
289 small = factor(letters[1:10]),
290 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
291 stringsAsFactors = FALSE)
292
293 rhandsontable(DF, search = TRUE, width = 550, height = 300) %>%
294 hot_context_menu(
295 customOpts = list(
296 search = list(name = "Search",
297 callback = htmlwidgets::JS(
298 "function (key, options) {
299 var srch = prompt('Search criteria');
300
301 this.search.query(srch);
302 this.render();
303 }"))))
304 ```
305
306 Future enhancements will look to expand export options.
307
308 ## Numeric Formatting
309
310 Numeric columns are formatted using the [numbro.js](https://numbrojs.com/) library.
311
312 ```{r}
313 DF = data.frame(int = 1:10, float = rnorm(10), cur = rnorm(10) * 1E5,
314 lrg = rnorm(10) * 1E8, pct = rnorm(10))
315
316 rhandsontable(DF, width = 550, height = 300) %>%
317 hot_col("float", format = "0.0") %>%
318 hot_col("cur", format = "$0,0.00") %>%
319 hot_col("lrg", format = "0a") %>%
320 hot_col("pct", format = "0%")
321 ```
322
323 ### Specify Locale
324
325 The `language` parameter for `hot_col` can be used to change the locale. See the [numeral.js](http://numeraljs.com/) library for language options.
326
327 ```{r}
328 DF = data.frame(dollar = rnorm(10), euro = rnorm(10), yen = rnorm(10))
329
330 rhandsontable(DF * 1000, width = 550, height = 300) %>%
331 hot_col("dollar", format = "$0,000.00", language = "en-US") %>%
332 hot_col("euro", format = "0,000.00 $", language = "de-DE") %>%
333 hot_col("yen", format = "$0,000.00", language = "ja-JP")
334 ```
335
336 ## Read Only
337
338 The whole table and individual columns can to set to `readOnly` to prevent the user from making changes.
339
340 ```{r}
341 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
342 small = letters[1:10],
343 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
344 stringsAsFactors = FALSE)
345
346 rhandsontable(DF, readOnly = TRUE, width = 550, height = 300) %>%
347 hot_col("val", readOnly = FALSE)
348 ```
349
350 ## Sorting
351
352 Column sorting can be enabled; sorting only impacts the widget and will not reorder the original data set.
353
354 ```{r}
355 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
356 small = letters[1:10],
357 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
358 stringsAsFactors = FALSE)
359
360 rhandsontable(DF, width = 550, height = 300) %>%
361 hot_cols(columnSorting = TRUE)
362 ```
363
364 ## Highlight Rows & Columns
365
366 With larger tables it my be desirable to highlight the row and column for a selected cell.
367
368 ```{r}
369 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
370 small = letters[1:10],
371 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
372 stringsAsFactors = FALSE)
373
374 # click on a cell to see the highlighting
375 rhandsontable(DF, width = 550, height = 300) %>%
376 hot_table(highlightCol = TRUE, highlightRow = TRUE)
377 ```
378
379 See [Custom Renderer using an R Parameter](#custom_renderer_using_r) for a static highlighting example.
380
381 ## Sizing
382
383 Column and row dimensions can be customized. For larger data sets, (multiple) top rows and left columns can be frozen.
384
385 ```{r fig.height = 6, fig.width = 6}
386 MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
387 letters[1:5]))
388
389 rhandsontable(MAT, width = 600, height = 600) %>%
390 hot_cols(colWidths = 100) %>%
391 hot_rows(rowHeights = 50)
392 ```
393
394 ### Row Header Width
395
396 The width of the row header column can be customized using `rowHeaderWidth`.
397
398 ```{r fig.height = 6, fig.width = 6}
399 rhandsontable(mtcars, rowHeaderWidth = 200)
400 ```
401
402 ### Streching
403
404 The table can be streched to the full width by using `stretchH`.
405
406 ```{r fig.height = 6, fig.width = 6}
407 MAT = matrix(rnorm(30), nrow = 10, dimnames = list(LETTERS[1:10],
408 letters[1:3]))
409
410 rhandsontable(MAT, width = 600, height = 300, stretchH = "all")
411 ```
412
413 ## Fixed Rows / Columns
414
415 For larger data sets, (multiple) top rows and left columns can be frozen.
416
417 ```{r}
418 MAT = matrix(rnorm(26 * 26), nrow = 26, dimnames = list(LETTERS, letters))
419
420 # scroll through the table to see the fixed row and column
421 rhandsontable(MAT, width = 550, height = 300) %>%
422 hot_cols(fixedColumnsLeft = 1) %>%
423 hot_rows(fixedRowsTop = 1)
424 ```
425
426 ## Cell Comments
427
428 Comments (hover) can also be added to individual cells and will appear as red flags in the upper right of the cell.
429
430 ```{r}
431 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
432 small = letters[1:10],
433 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
434 stringsAsFactors = FALSE)
435
436 rhandsontable(DF, width = 550, height = 300) %>%
437 hot_cell(1, 1, "Test comment")
438 ```
439
440 Additionally, comments can be added via `data.frame` or `matrix`.
441
442 ```{r}
443 MAT_comments = matrix(ncol = ncol(DF), nrow = nrow(DF))
444 MAT_comments[1, 1] = "Test comment"
445 MAT_comments[2, 2] = "Another test comment"
446
447 rhandsontable(DF, comments = MAT_comments, width = 550, height = 300)
448 ```
449
450 Finally, comments can also be added via the right-click context menu, but these updates will not currently be retained by shiny.
451
452 ## Borders
453
454 Custom borders can be drawn around cells to highlight specific items. Borders can also be added via the right-click context menu, but these updates will not currently be retained by shiny.
455
456 ```{r}
457 MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
458 letters[1:5]))
459
460 rhandsontable(MAT, width = 550, height = 300) %>%
461 hot_table(customBorders = list(list(
462 range = list(from = list(row = 1, col = 1),
463 to = list(row = 2, col = 2)),
464 top = list(width = 2, color = "red"),
465 left = list(width = 2, color = "red"),
466 bottom = list(width = 2, color = "red"),
467 right = list(width = 2, color = "red"))))
468 ```
469
470 ## Validation
471
472 ### Numeric Columns
473
474 Pre-defined validation can be added for numeric columns in two ways:
475
476 * specify a min and max and any values within the range to exclude
477 * similar to a `dropdown` column, specify allowed values
478
479 ```{r}
480 MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
481 letters[1:5]))
482
483 rhandsontable(MAT * 10, width = 550, height = 300) %>%
484 hot_validate_numeric(col = 1, min = -50, max = 50, exclude = 40)
485
486 rhandsontable(MAT * 10, width = 550, height = 300) %>%
487 hot_validate_numeric(col = 1, choices = c(10, 20, 40))
488 ```
489
490 ### Character Columns
491
492 For character columns, a vector of allowed options can be specified. A more user-friendly approach may be to use a `dropdown` column with `strict = TRUE`.
493
494 ```{r}
495 DF = data.frame(val = 1:10, bool = TRUE, big = LETTERS[1:10],
496 small = letters[1:10],
497 dt = seq(from = Sys.Date(), by = "days", length.out = 10),
498 stringsAsFactors = FALSE)
499
500 rhandsontable(DF, width = 550, height = 300) %>%
501 hot_validate_character(col = "big", choices = LETTERS[1:10])
502 ```
503
504 ### Custom
505
506 It is also possible to create a custom validation function in JavaScript.
507
508 ```{r}
509 MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
510 letters[1:5]))
511
512 # try to update any cell to 0
513 rhandsontable(MAT * 10, width = 550, height = 300) %>%
514 hot_cols(validator = "
515 function (value, callback) {
516 setTimeout(function(){
517 callback(value != 0);
518 }, 1000)
519 }",
520 allowInvalid = FALSE)
521 ```
522
523 ## Conditional Formatting
524
525 Conditional formatting can also be specified via custom JavaScript function. Future enhancements will look to simplify this interface.
526
527 ```{r, fig.width = 8}
528 MAT = matrix(runif(100, -1, 1), nrow = 10,
529 dimnames = list(LETTERS[1:10], LETTERS[1:10]))
530 diag(MAT) = 1
531 MAT[upper.tri(MAT)] = MAT[lower.tri(MAT)]
532 rhandsontable(MAT, readOnly = TRUE, width = 750, height = 300) %>%
533 hot_cols(renderer = "
534 function (instance, td, row, col, prop, value, cellProperties) {
535 Handsontable.renderers.TextRenderer.apply(this, arguments);
536 if (row == col) {
537 td.style.background = 'lightgrey';
538 } else if (col > row) {
539 td.style.background = 'grey';
540 td.style.color = 'grey';
541 } else if (value < -0.75) {
542 td.style.background = 'pink';
543 } else if (value > 0.75) {
544 td.style.background = 'lightgreen';
545 }
546 }")
547 ```
548
549 See [Custom Renderer using an R Parameter](#custom_renderer_using_r) for another example.
550
551 ## Heatmap
552
553 The [chroma.js](http://old.driven-by-data.net/about/chromajs/) library can be used to turn the table into a heatmap.
554
555 ```{r}
556 MAT = matrix(rnorm(50), nrow = 10, dimnames = list(LETTERS[1:10],
557 letters[1:5]))
558
559 rhandsontable(MAT, width = 550, height = 300) %>%
560 hot_heatmap()
561 ```
562
563 ## Big Data
564
565 ```{r}
566 MAT = matrix(rnorm(10000 * 100), nrow = 100, dimnames= list(1:100, 1:10000))
567
568 rhandsontable(MAT, width = 550, height = 550)
569 ```
570
571 ## Shiny
572
573 **Important note on shiny use:** The `htmlwidgets` package creates widgets as shiny output bindings. The `rhandsontable` package also attempts to expose the table as a *pseudo* shiny input binding using handsontable change events (see [here](https://github.com/jrowen/rhandsontable/blob/master/inst/htmlwidgets/rhandsontable.js) for the supported events). **This means the table (e.g. `hot`) can be accessed in shiny using either `input$hot` or `output$hot`, but these values may not be in-sync.** The timing of updates will depend on the particular reactive path followed by your shiny application.
574
575 Since the widget is not currently able to use the standard shiny input binding functionality, you will need to explicitly call the `hot_to_r` function to convert the handsontable data to an R object.
576
577 Two additional inputs are also enabled, `input$hot_select` and `input$hot_comment`, which will fire when a cell selection or a comment changes, respectively (if you would like to see more options, please post an issue or create a PR).
578
579 This functionality is still evolving, so please don't hesitate to share suggestions and PRs.
580
581 The data grid will be editable by default and can be used as input to a `shiny` app. A few `shiny` and `shinydashboard` example links are listed below. Note that the shinyapps.io links may not work if the has hit the monthly usage limit.
582
583 * **Output only**
584 ```
585 shiny::runGitHub("rhandsontable", "jrowen",
586 subdir = "inst/examples/rhandsontable_output")
587 ```
588 * **Date file editor**
589 ```
590 shiny::runGitHub("rhandsontable", "jrowen",
591 subdir = "inst/examples/rhandsontable_datafile")
592 ```
593 * **Calculation input**
594 ```
595 shiny::runGitHub("rhandsontable", "jrowen",
596 subdir = "inst/examples/rhandsontable_portfolio")
597 ```
598 * **Table callback linked to chart**
599 ```
600 shiny::runGitHub("rhandsontable", "jrowen",
601 subdir = "inst/examples/rhandsontable_corr")
602 ```
603 * **Multiple input tables**
604 ```
605 shiny::runGitHub("rhandsontable", "jrowen",
606 subdir = "inst/examples/rhandsontable_frontier")
607 ```
608 * **A shinydashboard app**
609 ```
610 shiny::runGitHub("rhandsontable", "jrowen",
611 subdir="inst/examples/rhandsontable_dash")
612 ```
613
614 ### Bookmarks
615
616 Version 0.14 of `shiny` includes new bookmarking functionality. This willl work for `rhandsontable` with some special handling. See [this issue](https://github.com/rstudio/shiny/issues/1378) for more details.
617
618 ## Suggestions & Contributions
619
620 Please file a issue if you experience any problems with the widget or have feature requests. Pull requests are also welcome.