Posts Tagged ‘ sweave ’

Using Sweave with XeLaTeX

October 23, 2011
By
Using Sweave with XeLaTeX

Using R with LaTeX via Sweave is a great way to create reproducible output. However, using specific fonts, e.g. your corporate fonts, can be painful with pdflatex. Over the last few weeks I have fallen in love with the TeX formatXeLaTeX and its XeTeX e...

Read more »

Slides for Reproducible Research Talk at Interface 2011

July 20, 2011
By
Slides for Reproducible Research Talk at Interface 2011

I gave a talk at the Interface Symposium on reproducible research in practice. I went first in the session, so the slides have a bit more background and philosophy. It was a great session; one of Jon Claerbout's colleagues spoke, Sergey Fomel, a founding author of Madagascar; Sorin Mitran from UNC Chapel Hill talked about

Read more »

David Banks on Reproducible Research

June 8, 2011
By

Just got an email linking to Reproducible Research: A Range of Response, in the new journal Statistics, Politics, and Policy 2(1) by David Banks, who is also the journal's editor. Interestingly, the commentary doesn't mention the journal's policy (if one exists) on the reproducibility of research submitted there. Banks' writing is easy to read, though

Read more »

Sweave diagram, following Knuth’s original

June 2, 2011
By
Sweave diagram, following Knuth’s original

In preparation for a talk, I updated Knuth's original diagram in Donald E. Knuth. Literate programming. The Computer Journal, 27(2):97–111, May 1984. The new diagram is Sweave specific. Click the Sweave diagram for a PDF version, or right-click and select 'save image as' for the PNG version. Permission is granted for any use of the

Read more »

Sweave and pgfSweave in LyX 2.0.x (experimental)

May 25, 2011
By

bout half a year ago, I wrote a post on the configuration of (pgf)Sweave and LyX, which was intended to save us some efforts in going through all the details during the configuration. Now many things have changed: LyX 2.0 has internal support for Sweave, and fortunately I have been in touch with the developers

Read more »

Makefiles and Sweave

May 12, 2011
By
Makefiles and Sweave

A Makefile is a simple text file that controls compilation of a target file. The key benefit of using Makefile is that it uses file time stamps to determine if a particular action is needed. In this post we discuss how to use a simple Makefile that compiles a tex file that contains a number

Read more »

WebSweave?

April 6, 2011
By

A recent R-help post asks for examples of Sweave use for web appliations. I think there is very little out there; maybe nothing. Below is a proof of concept for web-based Sweave-ing with rApache. But, it will soon be possible to do this with R's built-in web server. The idea was to treat an Sweave

Read more »

R versus Matlab in Mathematical Psychology

February 20, 2011
By
R versus Matlab in Mathematical Psychology

I recently attended the 2011 Australasian Mathematical Psychology Conference.This post summarises a few thoughts I had on the use of R, Matlab and othertools in mathematical psychology flowing from discussions with researchers atthe conference.I wanted...

Read more »

Teach Yourself How to Create Functions in R

February 1, 2011
By
Teach Yourself How to Create Functions in R

As you can tell from my previous posts, I am diving in head first into learning how to program (and simplify) my analytical life using R.  I have always learned by example and have never really prospered from the “learn from scratch” school of thought.  As I follow along with some other fellow R programmers,

Read more »

The Joy of Sweave – A Beginner’s Guide to Reproducible Research with Sweave

January 17, 2011
By
The Joy of Sweave – A Beginner’s Guide to Reproducible Research with Sweave

Just wrapped up the slides for the first version of the The Joy of Sweave – A Beginner’s Guide to Reproducible Research with Sweave which I presented today in our lab. I am making the slides available under a Creative Commons … Continue reading →

Read more »