358 search results for "Sweave"

Bayesian Model Averaging (BMA) with uncertain Spatial Effects

October 27, 2010
By
Bayesian Model Averaging (BMA) with uncertain Spatial Effects

This file illustrates the computer code to use spatial filtering in the context of Bayesian Model Averaging (BMA). For more details and in case you use the code please cite Crespo Cuaresma and Feldkircher (2010). In addition, this tutorial exists as ...

Read more »

Creating even NICER, publishable, embeddable plots using tikzDevice in R for use with LaTeX

October 22, 2010
By
Creating even NICER, publishable, embeddable plots using tikzDevice in R for use with LaTeX

It’s true. I like to do my work in R and write using LaTeX (well, I prefer to use org-mode for less formal writing and/or if I don’t have to typeset a lot of math). I haven’t done a lot of LaTeX’ing or Sweaving in the last year since 1) I’ve been collaborating with scientists... Read more »

The "tikzDevice" package

October 20, 2010
By
The "tikzDevice" package

The tikzDevice package is quite amazing. Here are two graphs I just made, with (lower) and without (upper) using the tikzDevice package. The difference in quality is huge.Since the LaTeX source file for the figure is quite large in size and may take si...

Read more »

The "tikzDevice" package

October 20, 2010
By
The "tikzDevice" package

The tikzDevice package is quite amazing. Here are two graphs I just made, with (lower) and without (upper) using the tikzDevice package. The difference in quality is huge.Since the LaTeX source file for the figure is quite large in size and may take si...

Read more »

Managing a statistical analysis project – guidelines and best practices

September 30, 2010
By

In the past two years, a growing community of R users (and statisticians in general) have been participating in two major Question-and-Answer websites: The R tag page on Stackoverflow, and Stat over flow (which will soon move to a new domain, no worries, I’ll write about it once it happens) In that time, several long (and fascinating) discussion threads where started,...

Read more »

ProjectTemplate

August 26, 2010
By

Introduction As many people already know, I’ve recently uploaded a new R package called ProjectTemplate to GitHub and CRAN. The ProjectTemplate package provides a function, create.project(), that automatically builds a directory for a new R project with a clean sub-directory structure and automatic data and library loading tools. My hope is that standardized data loading,

Read more »

Auto-completion in Notepad++ for R Script

August 14, 2010
By
Auto-completion in Notepad++ for R Script

Auto-completion is fancy in a text editor. Notepad++ does not support auto-completion for the R language, so I spent a couple of hours on creating such an XML file to support R: Put it under ‘plugins/APIs‘ in the installation directory of Notepad++ (you can see several other XML files there supporting different languages such as

Read more »

R2HTML Package

August 1, 2010
By
R2HTML Package

Introduction R2HTML is an R package, written and maintained by Eric Lecoutre currently maintained by me. It provides functions and methods to output different R objects to HTML files. It also has a Sweave driver to allow parsing of HTML files containing R code and automatically write the corresponding outputs. Current released version: 1.59 Download

Read more »

highlight 0.2-2

July 31, 2010
By

I've released highlight 0.2-2 to CRAN. This release adds the possibility to control the font size of the latex code generated by sweave (when using the driver that is provided by highlight) For example, this C++ code (using Rcpp) will be highlight...

Read more »

Extension to an R Package: brew gets a weave

July 28, 2010
By

I’ve had enough of copy and pasting output from my R session into my email editor, blog, etc. I need something like Sweave for plain text files. In particular, I want the result of parsing <<echo=TRUE>>= f <- function(x) { x + 1 } f(1) @ with Sweave, but without the latex markup. For example,

Read more »