455 search results for "knitr"

CambR and other upcoming events

May 21, 2012
By
CambR and other upcoming events

New events CambR (Cambridge UK R user group) 2012 May 29 6:30 PM for 7:00 PM start. Pat Burns “Inferno-ish R” Abstract: While R is wonderful, it is not uniformly wonderful. We highlight a few things generally found to be confusing, and outline the forces that have driven such imperfections. Markus Gesmann “Interactive charts with … Continue reading...

Read more »

Better R support in pygments by monkey patching SLexer

May 20, 2012
By
Better R support in pygments by monkey patching SLexer

I started using knitr with reStructuredText today and I found that the syntax highlighting with pygments (used by rst2html.py) was not as nice as the output of pandoc. So I ended up doing some monkeypatching. Try adding the following to rst2html.py: Before: After: Note: I assume you already added pygments’ rst-directive.py to rst2html.py.

Read more »

Example Reproducible Report using R Markdown: Analysis of California Schools Test Data

May 18, 2012
By
Example Reproducible Report using R Markdown:  Analysis of California Schools Test Data

This is a quick set of analyses of the California Test Score dataset. The post was produced using R Markdown in RStudio 0.96. The main purpose of this post is to provide a case study of using R Markdown to prepare a quick reproducible report. It provides examples of using plots, output, in-line R code, and...

Read more »

Dynamic Content with RStudio, Markdown, and Marked.

May 15, 2012
By
Dynamic Content with RStudio, Markdown, and Marked.

As Markus Gesmann recently pointed out, the new version of RStudio (0.96) has some really nice features for creating dynamic reports with Yihui Xie’s knitr. You can integrate not just R and LaTeX, but also R and Markdown (as well as some other fo...

Read more »

New Version of RStudio (v0.96)

May 14, 2012
By
New Version of RStudio (v0.96)

Today a new version of RStudio (v0.96) is available for download from our website. The main focus of this release is improved tools for authoring, reproducible research, and web publishing. This means lots of new Sweave features as well as tight integration with the knitr package (including support for creating dynamic web reports with the

Read more »

Use R! – Part 2

May 9, 2012
By
Use R! – Part 2

Here is a follow-up of my first post about using R. For our yearly KU Leuven Geology PhD Seminar (08-09/05/2012), I quickly pasted this script together from several examples I had run into in the past, as well as some things that I have been doing myse...

Read more »

Real Time Structural Break

April 27, 2012
By
Real Time Structural Break

Yesterday as I played with bfast I kept thinking “Yes, but this is all in hindsight.  How can I potentially use this in a system?”  Fortunately, one of the fine authors very generously commented on my post Structural Breaks (Bull or Bear?...

Read more »

Linguistic Notation Inside of R Plots!

April 14, 2012
By
Linguistic Notation Inside of R Plots!

So, I've been playing around with learning knitr, which is a Sweave-like R package for combining LaTeX and R code into one document. There's almost no learning curve if you already use Sweave, and I find a lot of knitr's design and usage to be a lot nicer.I wasn't going to make a blog post or tutorial about...

Read more »

How to plot lattice and ggplot2 graphs with FastRWeb

April 10, 2012
By
How to plot lattice and ggplot2 graphs with FastRWeb

With print() If you are an advanced R user, you probably know the lattice and the ggplot2 packages. They allow you to plot elegant graphics with less code (Hocking, 2009 and Sueur, 2010). If you know these two packages, you should hardly use plot() for your graphs. If you read my article on FastRWeb, you

Read more »

An intro to R

April 5, 2012
By
An intro to R

A few weeks back I gave a talk at the local Berkeley R meetup group. The idea was to help people not make the same mistakes I made when I first started out learning R. It was the first time I made an entire presentation with Deck.js and I generated the syntax highlighted R code

Read more »