cameronbracken/pgfSweave — Issue #36: Pass options through Sweave()
Author: halpo
Created: 2011-10-19 17:19:46+00:00
State: open

This call is acceptable with Sweave with both `driver=RWeaveLatex()` and `driver=cacheSweaveDriver`
```> Sweave(filename, driver=cacheSweaveDriver, prefix.string="figures/fig")
Writing to file simple-illustration.tex
Processing code chunks with options ...
1 : term hide (label = sectionsetup)
```
but throws an error when using a `driver=pgfSweaveDriver`
```> Sweave(filename, driver=pgfSweaveDriver, prefix.string="figures/fig")
Error in driver$setup(file = file, syntax = syntax, ...) :
unused argument(s) (prefix.string = "figures/fig")```

This is in general way of specifying global options without having to include a line in the file. Please add the support for specifying options in this way.