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

Exercise blocks for teaching R Markdown and Shiny #17

Open
garrettgman opened this issue Feb 21, 2017 · 4 comments
Open

Exercise blocks for teaching R Markdown and Shiny #17

garrettgman opened this issue Feb 21, 2017 · 4 comments

Comments

@garrettgman
Copy link
Member

If possible, I would like to create tutorials that teach students how to use R Markdown. To do this interactively, I would need a second type of interactive exercise block: a block whose content is assumed to be an R Markdown document and whose display comes with a "Knit Document" button.

Is it technically feasible to create such a block?
Is it desirable to do so given the complications that R Markdown will introduce to security, grading, and execution?

The obvious follow up would be a third type of exercise block for teaching Shiny: a block whose content is assumed to be an app.R file and whose display comes with a "Run App" button.

@mine-cetinkaya-rundel
Copy link
Collaborator

I'm very interested in the answer to @garrettgman's second question here as well.

@jjallaire
Copy link
Member

I think support for both R Markdown and Shiny is possible (Shiny is however bit trickier than R Markdown). One thing to keep in mind is that the form-factor of tutorials imposes some implicit size constraints on output (i.e. tutorial navigation and code both share screen real estate with the output) which makes R Markdown and Shiny a bit more constrained than would be ideal.

@garrettgman
Copy link
Member Author

I can see this working well for learning:

  • The first lessons in R Markdown and Shiny would be simple and focused, so the constraints will not feel limiting.
  • As the student gains skills, we move them towards the IDE. The exercises can give way to links to shared/forked projects.

@ColinFay
Copy link
Contributor

ColinFay commented Sep 2, 2020

I think it would be nifty to have something that allows to write markdown and see result in real time, for ex with https://github.com/showdownjs/showdown

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

4 participants