123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158 |
- <!DOCTYPE html>
- <!-- Generated by pkgdown: do not edit by hand --><html>
- <head>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
- <meta charset="utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>RStudio Addins for liftr • liftr</title>
- <!-- jquery --><script src="https://code.jquery.com/jquery-3.1.0.min.js" integrity="sha384-nrOSfDHtoPMzJHjVTdCopGqIqeYETSXhZDFyniQ8ZHcVy08QesyHcnOUpMpqnmWq" crossorigin="anonymous"></script><!-- Bootstrap --><link href="https://maxcdn.bootstrapcdn.com/bootswatch/3.3.7/flatly/bootstrap.min.css" rel="stylesheet" crossorigin="anonymous">
- <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script><!-- Font Awesome icons --><link href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css" rel="stylesheet" integrity="sha384-T8Gy5hrqNKT+hzMclPo118YTQO6cYprQmhrYwIiQ/3axmI1hQomh7Ud2hPOy8SP1" crossorigin="anonymous">
- <!-- pkgdown --><link href="../pkgdown.css" rel="stylesheet">
- <script src="../jquery.sticky-kit.min.js"></script><script src="../pkgdown.js"></script><!-- mathjax --><script src="https://mathjax.rstudio.com/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML"></script><!--[if lt IE 9]>
- <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
- <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
- <![endif]--><!-- Google analytics --><script>
- (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
- (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
- m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
- })(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
- ga('create', 'UA-65001771-1', 'auto');
- ga('send', 'pageview');
- </script>
- </head>
- <body>
- <div class="container template-vignette">
- <header><div class="navbar navbar-default navbar-fixed-top" role="navigation">
- <div class="container">
- <div class="navbar-header">
- <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar">
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- <span class="icon-bar"></span>
- </button>
- <a class="navbar-brand" href="../index.html">liftr</a>
- </div>
- <div id="navbar" class="navbar-collapse collapse">
- <ul class="nav navbar-nav">
- <li>
- <a href="../index.html">
- <span class="fa fa-home fa-lg"></span>
-
- </a>
- </li>
- <li>
- <a href="../reference/index.html">Reference</a>
- </li>
- <li class="dropdown">
- <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-expanded="false">
- Articles
-
- <span class="caret"></span>
- </a>
- <ul class="dropdown-menu" role="menu">
- <li>
- <a href="../articles/liftr-addins.html">RStudio Addins for liftr</a>
- </li>
- <li>
- <a href="../articles/liftr-intro.html">A Quick Introduction to liftr</a>
- </li>
- <li>
- <a href="../articles/liftr-tidyverse.html">Explore tidyverse with liftr</a>
- </li>
- </ul>
- </li>
- <li>
- <a href="../news/index.html">News</a>
- </li>
- </ul>
- <ul class="nav navbar-nav navbar-right">
- <li>
- <a href="https://github.com/road2stat/liftr">
- <span class="fa fa-github fa-lg"></span>
-
- </a>
- </li>
- </ul>
- </div>
- <!--/.nav-collapse -->
- </div>
- <!--/.container -->
- </div>
- <!--/.navbar -->
-
- </header><div class="row">
- <div class="col-md-9">
- <div class="page-header toc-ignore">
- <h1>RStudio Addins for liftr</h1>
- <h4 class="author">Nan Xiao <<a href="https://nanx.me" class="uri">https://nanx.me</a>></h4>
-
- <h4 class="date">2017-12-13</h4>
- </div>
-
-
- <div class="contents">
- <div id="rstudio-addins-to-the-rescue" class="section level1">
- <h1 class="hasAnchor">
- <a href="#rstudio-addins-to-the-rescue" class="anchor"></a>RStudio addins to the rescue</h1>
- <p>If you use RStudio, there is a good chance that you love the <code>Knit</code> button that will give you the power of one-click R Markdown document compilation. Luckily, we also prepared four RStudio addins that supports containerizing and rendering your documents with liftr.</p>
- <p><img src="https://i.imgur.com/HahL1l2.png" width="100%" class="img-responsive" alt="RStudio addins for liftr"></p>
- </div>
- <div id="addin-containerize" class="section level1">
- <h1 class="hasAnchor">
- <a href="#addin-containerize" class="anchor"></a>Addin: 📦 Containerize</h1>
- <p>This addin helps you generate the <code>Dockerfile</code> for the current R Markdown document opened in RStudio (with liftr meta), using <code><a href="../reference/lift.html">lift()</a></code>.</p>
- </div>
- <div id="addin-render" class="section level1">
- <h1 class="hasAnchor">
- <a href="#addin-render" class="anchor"></a>Addin: 🎉 Render</h1>
- <p>This addin will generate the <code>Dockerfile</code> based on the document, create the Docker container, and render the document inside the container using <code><a href="../reference/render_docker.html">render_docker()</a></code>.</p>
- </div>
- <div id="addin-prune-dangling" class="section level1">
- <h1 class="hasAnchor">
- <a href="#addin-prune-dangling" class="anchor"></a>Addin: ✂️ Prune Dangling</h1>
- <p>Sometimes the Docker image build fails due to various reasons, this addin will help you clean up the unused dangling containers and images automatically.</p>
- </div>
- <div id="addin-remove-image" class="section level1">
- <h1 class="hasAnchor">
- <a href="#addin-remove-image" class="anchor"></a>Addin: 🗑 Remove Image</h1>
- <p>After having a satisfying rendered document, maybe you would not need the Docker image for rendering the document for a long time. This addin helps you remove that particular Docker image.</p>
- </div>
- </div>
- </div>
- <div class="col-md-3 hidden-xs hidden-sm" id="sidebar">
- <div id="tocnav">
- <h2 class="hasAnchor">
- <a href="#tocnav" class="anchor"></a>Contents</h2>
- <ul class="nav nav-pills nav-stacked">
- <li><a href="#rstudio-addins-to-the-rescue">RStudio addins to the rescue</a></li>
- <li><a href="#addin-containerize">Addin: 📦 Containerize</a></li>
- <li><a href="#addin-render">Addin: 🎉 Render</a></li>
- <li><a href="#addin-prune-dangling">Addin: ✂️ Prune Dangling</a></li>
- <li><a href="#addin-remove-image">Addin: 🗑 Remove Image</a></li>
- </ul>
- </div>
- </div>
- </div>
- <footer><div class="copyright">
- <p>Developed by Nan Xiao.</p>
- </div>
- <div class="pkgdown">
- <p>Site built with <a href="http://hadley.github.io/pkgdown/">pkgdown</a>.</p>
- </div>
- </footer>
- </div>
- </body>
- </html>
|