I am setting up an Rstudio server and everything is going really well. I have run into a problem with running shiny applications though. When I run the default Old Faithful Shiny app, the apps is rendered greyed out with just the number of bins slider bar showing. Also, when I run the following Rmarkdown document, the viewer pane shows please wait and does not stop. I can render Rmarkdown files just fine, but nothing with runtime:shiny in the YAML header.
---
title: "Shiny Document"
output: html_document
runtime: shiny
---
```{r, echo=FALSE}
numericInput("rows", "How many cars?", 5)
renderTable({
head(cars, input$rows)
})
```
1 Like
Anything in the shiny error logs?
Aurele
November 12, 2018, 5:16pm
3
I have the same problem with RStudio Desktop (v. 1.1.463 on Ubuntu 18.10).
Just a "Please wait" screen, whether in Viewe pane or the browser.
The R Markdown console prints:
|......... | 14%
ordinary text without R code
|................... | 29%
label: setup (with options)
List of 1
$ include: logi FALSE
|............................ | 43%
ordinary text without R code
|..................................... | 57%
label: eruptions (with options)
List of 1
$ echo: logi FALSE
|.............................................. | 71%
ordinary text without R code
|........................................................ | 86%
label: tabsets (with options)
List of 1
$ echo: logi FALSE
|.................................................................| 100%
ordinary text without R code
/usr/bin/pandoc +RTS -K512m -RTS /tmp/RtmpTnYAL5/shiny-document-test.utf8.md --to html4 --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash+smart --output /tmp/RtmpTnYAL5/file24135dd3ef66.html --email-obfuscation none --standalone --section-divs --template /usr/lib/R/site-library/rmarkdown/rmd/h/default.html --no-highlight --variable highlightjs=1 --id-prefix section- --variable 'theme:bootstrap' --mathjax --variable 'mathjax-url:https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML'
processing file: shiny-document-test.Rmd
output file: /tmp/RtmpTnYAL5/shiny-document-test.knit.md
Output created: /tmp/RtmpTnYAL5/file24135dd3ef66.html