{"action":"opened","issue":{"url":"https://api.github.com/repos/MangoTheCat/rcloud.flexdashboard/issues/1","repository_url":"https://api.github.com/repos/MangoTheCat/rcloud.flexdashboard","labels_url":"https://api.github.com/repos/MangoTheCat/rcloud.flexdashboard/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/MangoTheCat/rcloud.flexdashboard/issues/1/comments","events_url":"https://api.github.com/repos/MangoTheCat/rcloud.flexdashboard/issues/1/events","html_url":"https://github.com/MangoTheCat/rcloud.flexdashboard/issues/1","id":178556148,"number":1,"title":"Notebook vs flexdashboard (rmarkdown) document","user":{"login":"gaborcsardi","id":660288,"avatar_url":"https://avatars.githubusercontent.com/u/660288?v=3","gravatar_id":"","url":"https://api.github.com/users/gaborcsardi","html_url":"https://github.com/gaborcsardi","followers_url":"https://api.github.com/users/gaborcsardi/followers","following_url":"https://api.github.com/users/gaborcsardi/following{/other_user}","gists_url":"https://api.github.com/users/gaborcsardi/gists{/gist_id}","starred_url":"https://api.github.com/users/gaborcsardi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gaborcsardi/subscriptions","organizations_url":"https://api.github.com/users/gaborcsardi/orgs","repos_url":"https://api.github.com/users/gaborcsardi/repos","events_url":"https://api.github.com/users/gaborcsardi/events{/privacy}","received_events_url":"https://api.github.com/users/gaborcsardi/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-22T08:59:49Z","updated_at":"2016-09-22T08:59:49Z","closed_at":null,"body":"@gordonwoodhull \r\n\r\nI am thinking about the user's workflow for flexdashboard. \r\n\r\nAFAICT currently both the `markdown` and `rmarkdown` cell types just run `knit` and `markdownToHTML` on the contents of the cell to create static HTML. While this was fine before, we could already do better with our htmlwidgets support, and provide a proper widget instead of a screenshot of it. We should probably do this first, as we would need it for the dashboards as well.\r\n\r\nIt seems that an `rmarkdown` cell is a self-contained rmarkdown document, and it runs in a separate context. A flex dashboard is a single rmarkdown document, but I would not want users to write it in a single cell, of course. So I guess we would use `R` and `markdown` cells, not `rmarkdown`.\r\n\r\nMarkdown cells are evaluated in the context of the notebook, which is perfect for us.\r\n\r\nI'll look into how to include proper HTML widgets in markdown cells."}}
{"actor":{"display_login":"gaborcsardi"}}