{"action":"created","issue":{"url":"https://api.github.com/repos/jbkunst/d3wordcloud/issues/19","repository_url":"https://api.github.com/repos/jbkunst/d3wordcloud","labels_url":"https://api.github.com/repos/jbkunst/d3wordcloud/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/jbkunst/d3wordcloud/issues/19/comments","events_url":"https://api.github.com/repos/jbkunst/d3wordcloud/issues/19/events","html_url":"https://github.com/jbkunst/d3wordcloud/issues/19","id":153616870,"number":19,"title":"Chunk options to Knitr","user":{"login":"diegocgaona","id":9142126,"avatar_url":"https://avatars.githubusercontent.com/u/9142126?v=3","gravatar_id":"","url":"https://api.github.com/users/diegocgaona","html_url":"https://github.com/diegocgaona","followers_url":"https://api.github.com/users/diegocgaona/followers","following_url":"https://api.github.com/users/diegocgaona/following{/other_user}","gists_url":"https://api.github.com/users/diegocgaona/gists{/gist_id}","starred_url":"https://api.github.com/users/diegocgaona/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diegocgaona/subscriptions","organizations_url":"https://api.github.com/users/diegocgaona/orgs","repos_url":"https://api.github.com/users/diegocgaona/repos","events_url":"https://api.github.com/users/diegocgaona/events{/privacy}","received_events_url":"https://api.github.com/users/diegocgaona/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":6,"created_at":"2016-05-07T20:46:04Z","updated_at":"2016-05-13T15:04:13Z","closed_at":null,"body":"Hi,\r\n\r\nI'm trying to put the clouds in a RMD and export to html with knitr in Rstudio, but my file came in blank and freezes Rstudio.\r\n\r\nWhat options I need to use in the chunks? I need to do something special?\r\nI tried `results = \"asis\"`, but without success.\r\n\r\nMy reproducible example:\r\n\r\n```\r\n---\r\ntitle: \"test\"\r\noutput:\r\n  html_document:\r\n    theme: flatly\r\n    highlight: tango\r\n    self_contained: FALSE\r\n---\r\n``{r source}\r\nrequire(magrittr)\r\nrequire(dygraphs)\r\nptcolsumm <-  c(\"Usuários\", \"Sessões\", \"Pageview Único\", \"Pageviews\",  \"Tempo Médio\", \"Rejeição\", \"Taxa de Rejeição\", \"Taxa de Saída\", \"não sei\", \"ACENTUAÇÃO\", \"Teste\")\r\n\r\norganic <- data.frame(organic = as.numeric(c(186,640,278,11,267,117,41,17,38)))\r\norganic <- as.ts(organic)\r\n\r\n# Facebook impressions by type\r\nteste <- dygraph(organic) %>%\r\n  dySeries(\"organic\", label = \"Orgânico\") %>%\r\n  dyLegend(width = 400, show = \"always\") %>%\r\n  dyOptions(fillGraph = TRUE, fillAlpha = 0.2, drawGrid = FALSE, drawPoints = TRUE, pointSize = 2)\r\n``\r\n<style> /* CSS style to solve the problem with the sparkline tooltip */\r\n.jqstooltip {\r\n  -webkit-box-sizing: content-box;\r\n  -moz-box-sizing: content-box;\r\n  box-sizing: content-box;\r\n}\r\n</style>\r\n\r\n## Quarterly Results {.tabset}\r\n\r\n### By Region\r\n\r\n``{r3}\r\nteste\r\n``\r\n### BLOH BLOH 3\r\n```{r wordcloudteste, results = \"asis\"}\r\nrequire(d3wordcloud)\r\nwords <- c(\"I\", \"love\", \"this\", \"package\", \"but\", \"I\", \"don't\", \"like\", \"use\", \"wordclouds\")\r\nfreqs <- sample(seq(length(words)))\r\n\r\nd3wordcloud(words, freqs)\r\n```\r\n\r\nThanks!\r\n"},"comment":{"url":"https://api.github.com/repos/jbkunst/d3wordcloud/issues/comments/219070115","html_url":"https://github.com/jbkunst/d3wordcloud/issues/19#issuecomment-219070115","issue_url":"https://api.github.com/repos/jbkunst/d3wordcloud/issues/19","id":219070115,"user":{"login":"timelyportfolio","id":837910,"avatar_url":"https://avatars.githubusercontent.com/u/837910?v=3","gravatar_id":"","url":"https://api.github.com/users/timelyportfolio","html_url":"https://github.com/timelyportfolio","followers_url":"https://api.github.com/users/timelyportfolio/followers","following_url":"https://api.github.com/users/timelyportfolio/following{/other_user}","gists_url":"https://api.github.com/users/timelyportfolio/gists{/gist_id}","starred_url":"https://api.github.com/users/timelyportfolio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timelyportfolio/subscriptions","organizations_url":"https://api.github.com/users/timelyportfolio/orgs","repos_url":"https://api.github.com/users/timelyportfolio/repos","events_url":"https://api.github.com/users/timelyportfolio/events{/privacy}","received_events_url":"https://api.github.com/users/timelyportfolio/received_events","type":"User","site_admin":false},"created_at":"2016-05-13T15:04:13Z","updated_at":"2016-05-13T15:04:13Z","body":"I'll try to look into it in just a bit."}}