Skip to content
Back to formatted view

Raw Message

Message-ID: <alpine.LFD.2.02.1104070537010.24662@gannet.stats.ox.ac.uk>
Date: 2011-04-07T04:39:17Z
From: Brian Ripley
Subject: Sweave Cairo driver?
In-Reply-To: <BANLkTikGQoduMRQn_y-wK2U2_T1bgX07cg@mail.gmail.com>

This is simple in 2.13.0 RC, which allows you to add graphics devices 
for Sweave.

On Wed, 6 Apr 2011, Liviu Andronic wrote:

> Dear all
> I would like to use Sweave with the Cairo() graphics device instead of
> pdf(), since the former supports Unicode, allows for easier font
> selection out of a greater range of available fonts, and automatically
> embeds fonts into the resulting PDF.

As does cairo_pdf(), builtin to R and more reliable in my experience.

> Following this older discussion [1], has anyone come up with an Sweave
> driver that uses the Cairo graphics device? Thank you
> Liviu
>
> [1] http://tolstoy.newcastle.edu.au/R/e12/help/10/10/0986.html

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595