Knitting Learnr from the Terminal #645
Answered
by
gadenbuie
stefanopagliari
asked this question in
Q&A
-
Is it possible to knit a LearnR rmd from outside RStudio? |
Beta Was this translation helpful? Give feedback.
Answered by
gadenbuie
Jan 26, 2022
Replies: 1 comment 1 reply
-
learnr tutorials are rendered in two steps:
So you can try running Rscript -e "rmarkdown::run("tutorial.rmd") to start up the learnr tutorial. This will start up the tutorial app and give you a link where you can open the tutorial in your browser. When you stop that process in your command line, the app will stop. |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
stefanopagliari
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
learnr tutorials are rendered in two steps:
rmarkdown::render()
, which is an HTML intended to be run and served as an interactive application by Shiny.rmarkdown::run()
, which will also trigger a re-render if there isn't a prerendered HTML file or if that file is out of date.So you can try running
to start up the learnr tutorial. This will start up …