788 search results for "knitr"

Using checkpoint with knitr and RStudio

April 25, 2017
By
Using checkpoint with knitr and RStudio

The knitr package by Yihui Xie is a wonderful tool for reproducible data science. I especially like using it with R Markdown documents, where with some simple markup in an easy-to-read document I can easily combine R code and narrative text to generate an attractive document with words, tables and pictures in HTML, PDF or Word format. Say, something...

Read more »

Direct integration of sjPlot-tables in knitr-rmarkdown-documents #rstats

March 5, 2017
By
Direct integration of sjPlot-tables in knitr-rmarkdown-documents #rstats

A new update of my sjPlot-package was just released on CRAN. Thanks to @c_schwemmer, it’s now possible to easily integrate the HTML-ouput of all table-functions into knitr-rmarkdown-documents.… Read more "Direct integration of sjPlot-tables in knitr-rmarkdown-documents #rstats"

Read more »

Quick tip: knitr Python Windows setup checklist

February 22, 2017
By
Quick tip: knitr Python Windows setup checklist

One of the nifty things about using R is that you can use it for many different purposes and even other languages! If you want to use Python in your knitr docs or the newish RStudio R notebook functionality, you might encounter some fiddliness getting all the moving parts running on Windows. This is a …

Read more »

How to Write Pelican Blog Posts using RMarkdown & Knitr

January 5, 2017
By
How to Write Pelican Blog Posts using RMarkdown & Knitr

In this post I'm going to be talking about how to easily modify your Pelican blog configuration to let you directly publish blog posts using RMarkdown. I'm assuming you already have a Pelican blog set up, so I won't be covering that in today's post. If you're interested but haven't yet set up a blog for yourself, it's quite...

Read more »

My knitr LaTeX template: manuscript and supplement interleaved in one source file

June 14, 2016
By

Most of the time between starting manuscript and having it accepted after peer-review is spent writing, re-writing and re-arranging content. In Word, keeping track of figure numbers is a big pain, even more so when figures are moved between the main ma...

Read more »

R-Markdown and Knitr Tutorial (Part 2)

December 28, 2015
By
2015-12-29 14_58_47-Clipboard

In our last post we quickly went over how to create a new R-Markdown document and embed a Plotly graph in it. In this post we’ll get into more details around how to control code output using chunk options. As shown in our previous post, for the embedded R code to be evaluated, it’ll need

Read more »

R-Markdown and Knitr Tutorial (Part 1)

December 28, 2015
By

R-Markdown is a great way to create dynamic documents with embedded chunks of R code. The document is self contained and fully reproducible which makes it very easy to share. This post will be the first in a multi part series on how to embed Plotly graphs in R-Markdown documents as well as presentations. R-Markdown

Read more »

ezknitr: R package to avoid the typical working directory pain when using knitr

December 9, 2015
By

A new package has hit the CRAN shelves this week. While knitr is one of the most useful R packages in existence, ezknitr is a simple extension to it that adds flexibility in several ways. One common source of frustration with knitr is that it assumes the directory where the source file lives should be the working directory, which...

Read more »

Using knitr and R to make instructor/student handout versions

November 29, 2015
By

I teach some of my lab sections using R, and so I need to create lab handouts that include nicely formatted R commands and R output as an example for the students. These handouts will also include exercises where the students will be writing their own R code, or interpreting the results, or generating figures.

Read more »

Using htmlwidgets with knitr and Jekyll

November 15, 2015
By
Using htmlwidgets with knitr and Jekyll

A few weeks ago I gave a talk at BARUG (and wrote a post) about blogging with the excellent knitr-jekyll repo. Yihui’s system is fantastic, but it does have one drawback: None of those fancy new htmlwidgets packages seem to work… A few people have run into this. I recently figured out...

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)