Quality speedy graphics compilation and caching with Sweave
Overview
pgfSweave provides a number of improvements to the speed and quality of Sweave output including: (1) capabilities for 'caching' graphics generated with Sweave on top of the caching mechanisms provided by cacheSweave, (2) an interface to the tikzDevice package which provides graphics with consistent font style, sizing and quality as the main document and (3) highlighting of echo'd source code via the highlight package. pgfSweave provides a new driver for Sweave (pgfSweaveDriver) with new chunk options tikz, external, sanitize, highlight and tidy on top of the cache option provided by cacheSweave.
- [FIX] A bunch of spacing fixes, thanks to Qiang Li
- [FIX] Fix a bunch of small bugs from newer versions of R
- [NEW] Add global option pgfSweaveNoHighlight to disable printing of highlight definitions (they are currently always printed). Set the options to any other value than NULL to disable printing of the definitions e.g. options(pgfSweaveNoHighlight=TRUE)
- [NEW] Remove the auto installation of command line script
- [NEW] Add function pgfSweave:::installCommandLineScript(), see above
- [NEW] PGF version can be specified in you .Rprofile so that it doesn't get checked for like options(pgfversion = "2.10")
- [NEW] Updated XeLaTeX example, thanks to psibre
- [NEW] Roxygenize the docs
From NEWS in the release
Install
Health
CRAN check results are not tracked yet.
Documentation
- Help pages
- 2includes a package overview page
- Examples that run
- 0%1 never run
- Exported functions with examples
- 50%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 100%
Downloads
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 1.3.0archived2012-04-02 · diff ↗
- RR 2.14.0 released · 2011-10-31
- 1.3.0
- 1.2.12011-05-05 · diff ↗
- RR 2.13.0 released · 2011-04-13
- 1.1.42011-03-28 · diff ↗
- 1.1.32011-01-16 · diff ↗
- 1.1.22010-12-17 · diff ↗
- 1.1.12010-12-03 · diff ↗
- 1.1.02010-11-17 · diff ↗
- RR 2.12.0 released · 2010-10-15
- 1.0.92010-09-14 · diff ↗
- 1.0.62010-08-06 · diff ↗
- RR 2.11.0 released · 2010-04-22
- 1.0.52010-01-23 · diff ↗
- RR 2.10.0 released · 2009-10-26
Package metadata
- First published
- 2009-04-30
- Total releases
- 12 / 17 yrs
- License
- GPL (>= 3) OSI
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("pgfSweave")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-26, which the citation names so these numbers can be found later. More on citing and the projects behind them.