r - ggvis figure can't zoom in an embedded shiny app in shiny markdown document -
i have shiny app embedded in shiny markdown document. if run app lonely, ggvis figure can zoom in , out following picture:
pay attention small arrow in rigth bottom.
but when embed app shiny markdown document using following code:
````{r, echo = false} require(ggvis) require(knitr) require(shiny) shinyappdir( system.file("../../../../shiny/dataprocess/r", package="shiny"), options=list( width="100%",height=1000) ) ````
this app correctly embedded. figure can't zoom. following:
the small arrow disappears.
i new shiny , shiny markdown document, hope help.
- my rstudio version version 0.98.1103
- r version r x64 3.2.0
note : using ggvis directely in shiny markdown document, works well.
by default shiny graphs have options(resizable=true)
, creates small arrow in right bottom. suppose in markdown document resizable
set false
or suppressed setting height
hand
Comments
Post a Comment