Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java script error when using flexdashboard + runtime shiny #69

Open
kotamine opened this issue Jun 17, 2020 · 0 comments
Open

java script error when using flexdashboard + runtime shiny #69

kotamine opened this issue Jun 17, 2020 · 0 comments

Comments

@kotamine
Copy link

Hi I'm getting an error around the section

// Attempt eval() both with and without enclosing in parentheses.
// Note that enclosing coerces a function declaration into
// an expression that eval() can parse
// (otherwise, a SyntaxError is thrown)
function tryEval(code) {
var result = null;
try {
result = eval(code);


---
title: "Minimum example of WordCloud2 in Fexdashboard"
output: 
  flexdashboard::flex_dashboard:
    social: menu
    source_code: embed
runtime: shiny
---

```{r global, include=FALSE}
library(wordcloud2)

Column {.sidebar}

sliderInput('size', 'Size:', value = 0.5, min = 0.1, max=2)

Column

Word Cloud

renderWordcloud2(
  wordcloud2(data = demoFreq, size = input$size)
  )
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant