liftr-addins.Rmd 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  1. ---
  2. title: "RStudio Addins for liftr"
  3. author: "Nan Xiao <<https://nanx.me>>"
  4. date: "`r Sys.Date()`"
  5. output:
  6. rmarkdown::html_vignette:
  7. toc: true
  8. number_sections: true
  9. css: liftr.css
  10. vignette: >
  11. %\VignetteEngine{knitr::rmarkdown}
  12. %\VignetteIndexEntry{RStudio Addins for liftr}
  13. ---
  14. # RStudio addins to the rescue
  15. If you use RStudio, there is a good chance that you love the
  16. `Knit` button that will give you the power of one-click R Markdown document compilation. Luckily, we also prepared four RStudio addins that supports
  17. containerizing and rendering your documents with liftr.
  18. <img src="https://i.imgur.com/HahL1l2.png" width="100%" class="img-responsive" alt="RStudio addins for liftr">
  19. # Addin: 📦 Containerize
  20. This addin helps you generate the `Dockerfile` for the current
  21. R Markdown document opened in RStudio (with liftr meta),
  22. using `lift()`.
  23. # Addin: 🎉 Render
  24. This addin will generate the `Dockerfile` based on the document,
  25. create the Docker container, and render the document inside the
  26. container using `render_docker()`.
  27. # Addin: ✂️ Prune Dangling
  28. Sometimes the Docker image build fails due to various reasons,
  29. this addin will help you clean up the unused dangling containers
  30. and images automatically.
  31. # Addin: 🗑 Remove Image
  32. After having a satisfying rendered document, maybe you would
  33. not need the Docker image for rendering the document for a long time.
  34. This addin helps you remove that particular Docker image.