के साथ काम नहीं करता है मैं चमकदार राज्य बुकमार्किंग के साथ flexdashboard को गठबंधन करने की कोशिश कर रहा हूं। जब (डॉक्स से उदाहरण) अकेले इस्तेमाल किया चमकदार एप्लिकेशन ठीक काम करता है, लेकिन जब flexdasboard में डाल दिया, यूआरएल अपडेट नहीं किया गया:फ्लेक्सडैशबोर्ड चमकदार यूआरएल राज्य
---
title: "Untitled"
output:
flexdashboard::flex_dashboard:
orientation: columns
vertical_layout: fill
runtime: shiny
---
```{r setup, include=FALSE}
library(flexdashboard)
```
Column {data-width=650}
-----------------------------------------------------------------------
### Chart A
```{r}
shinyApp(
ui=function(req) {
fluidPage(
textInput("txt", "Text"),
checkboxInput("chk", "Checkbox")
)
},
server=function(input, output, session) {
observe({
# Trigger this observer every time an input changes
reactiveValuesToList(input)
session$doBookmark()
})
onBookmarked(function(url) {
updateQueryString(url)
})
},
enableBookmarking = "url"
)
```
यह और भी संभव है? स्टैंडअलोन निष्पादन की तुलना में:
shinyApp(
ui=function(req) {
fluidPage(
textInput("txt", "Text"),
checkboxInput("chk", "Checkbox")
)
},
server=function(input, output, session) {
observe({
# Trigger this observer every time an input changes
reactiveValuesToList(input)
session$doBookmark()
})
onBookmarked(function(url) {
updateQueryString(url)
})
},
enableBookmarking = "url"
)
यह onBookmarked
(और onBookmark
, onRestore
और onRestored
की तरह समान घटनाओं) की तरह दिखता है कभी नहीं ट्रिगर कर रहे हैं।