641 search results for "KnitR"

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 »

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 »

Blogging with Rmarkdown, knitr, and Jekyll

October 19, 2015
By
Blogging with Rmarkdown, knitr, and Jekyll

Blogs are some of the best R resources available. However, the paths to an efficient data-blogging workflow are many and perilous! This post walks through how I got the process down to two commands, with the forked teachings of Yihui Xie (… and how you can, too). Those two commands in full: new_post("Post title!") Creates an Rmarkdown file with the...

Read more »

Notebooks, knitr and the Language-Markdown View Source Option…

June 8, 2015
By
Notebooks, knitr and the Language-Markdown View Source Option…

One of the foundational principles of the web, though I suspect ever fewer people know it, is that you can “View Source” on a web page to see what bits of HTML, Javascript and CSS are used to create it. In the WordPress editor I’m currently writing in, I’m using a Text view that lets

Read more »

Knitr with Bio7

April 16, 2015
By

16.04.2015 In Bio7 it is possible to write a documentation in knitr. A simple visual and textual HTML editor (based on JavaFX) and an embedded Latex editor (based on TeXclipse) helps in the creation of a *.html or *.pdf documentation. For the *.pdf creation a TeX environment has to be available (Windows e.g. MiKTeX). Overview

Read more »

Write an R Journal article with knitr

April 11, 2015
By
Write an R Journal article with knitr

R Journal The R Journal publishs peer-reviewed short to medium length articles covering topics that might be of interest to users or developers of R. It is a welcome platform to spread word of new packages. As most academic journals, it has strict guidelines regarding the format of submitted articles. Traditionally, these have been provided with a The post

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)