-
Notifications
You must be signed in to change notification settings - Fork 239
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
learnr and bookdown #168
Comments
The hard part is that you need a shiny backend to run learnr, where as bookdown is multiple, static rmardown files. I don't see this being implemented in the near future, but will keep the card open as hosting multiple learnr files seems fair. |
I would be interested in this functionality as well. I'm creating a series of tutorials for my organization and it would be nice to combine them all into bookdown format. |
I would be interested in this functionality too. I am interested in documenting students' work into pdf or any other formats or have a widget for user to download their works. Bookdown might be a good option to fulfill this functionality. |
I'm looking into something like this - since there's a Shiny back end required, maybe |
Flexdashboard would be fine too, the only thing I don't like about that is there isn't a way - or at least a reasonably simple way - that I've found to have the navbar on the side instead of the top? It just seems like a better workflow in a tutorial vs having to go up and pop the navbar open. That is one thing I like about the way the learnr tutorial output is set up, I just need more options for the heading levels on the table of contents, and preferably be able to collapse the toc as well. It would be great to have a learnr output for shiny apps too where you could embed learnr chunks in your app just like a plot or whatever else. Or maybe there is a way to do that with htmlOutput or uiOutput already? (I'm knachman as well I just changed my username recently) |
Add me to the list of people who would use this. I would love to bundle all the tutorials for a class. |
Yes, this would indeed be very helpful! |
+1 for this feature |
It is possible to have multiple rmarkdown documents with shiny run time in a website as in the example by @hugo-pa. This does not work with |
One more ... could you embed GitHub: https://github.com/vnijs/shiny-site |
I am curious if there has been a working example of combining |
The closest I've seen to replicating this functionality requires leaving the
|
+1 I'm also looking to add interactive examples in a bookdown textbook. This would greatly increase student engagement with the material! |
=1 not to jump on the bandwagon, but I also would find this helpful. I am working on sets of tutorials to cover a whole semester course. |
I would also find this useful if possible |
I echo the others in saying that this feature would be great to have. |
I share the desire to put interactive exercises into a book and also thought primarily of a solution with bookdown. But recently, I came across the very comprehensive tutorial of the OpenIntro project. Introduction to Modern Statistics is showcasing another approach: It uses the But there is still also the textbook, written with bookdown to provide a general introduction to statistics independently from R. |
I would also love to see this functionality. For now, I use an rmarkdown website with a navigation bar at the top to access seven different tutorials: https://rlernen.de/ -- Not ideal, but works. |
This came up today in a department conversation; we'd also be interested in seeing this work. Since the main blocker is the shiny connection, https://quarto.org/docs/blog/posts/2022-10-25-shinylive-extension/ plus https://github.com/georgestagg/webR could be an approach: run everything in the browser. Another direction could be to see if learnr code chunks could be embeddable, e.g., using iframes. |
Distilling the advice in this conversation, for publishing a collection of tutorials I would recommend following the examples above:
The above represent the current best practices and in my opinion do an excellent job of balancing the requirements for deploying learnr tutorials with the organizational needs of material that span more than one learning session. |
If anyone still needs a workaround, I developed a small proof of concept: https://github.com/irudnyts/jsquiz. Basically, this is like I drafted this for internal purposes, but if anyone needs it, I'm happy to elaborate. |
I would also add https://psyteachr.github.io/webexercises/ Source: https://github.com/PsyTeachR/webexercises You could also toy around with |
@coatless very cool, thanks! I wish to see that in the morning -- would save me a day 🙂 |
Regarding the new suggestions it would be helpful to state whether R code can actually be run. Seems to be only the case for quarto-webr, but this looks very promising! The rest seems to be just for creating quizzes, right? |
This is great! I would definitely be interested in knowing
more/elaboration Iegor, or trying out some of these ideas for the Spatial
Statistics course I'm teaching in the fall.
Dr Helen Greatrex (pronouns: she/hers)
Assistant Professor in Remote Sensing and Geospatial Analysis
Department of Geography, Department of Statistics & Co-Hire of the
Institute for Computational and Data Sciences
201 Walker Building
University Park, PA 16802
*Learn more about the Rainbow Science Lab I lead here
<https://science.psu.edu/diversity-initiatives/rainbow-science-network>See
our acknowledgment of the lands Penn State stands on here:
<http://equity.psu.edu/acknowledgement-of-land>*
…On Wed, 21 Jun 2023 at 04:39, Johannes Titz ***@***.***> wrote:
Regarding the new suggestions it would be helpful to state whether R code
can actually be run. Seems to be only the case for quarto-webr, but this
looks very promising! The rest seems to be just for creating quizzes, right?
—
Reply to this email directly, view it on GitHub
<#168 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABGOD4HWRYOPTDOFRERJXXTXMKXKVANCNFSM4FGQTQOA>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Is is possible to use bookdown to combine a group of tutorials and not lose learnr functionality.
The text was updated successfully, but these errors were encountered: