Skip to content

Pass options through Sweave() #36

@halpo

Description

@halpo

This call is acceptable with Sweave with both driver=RWeaveLatex() and driver=cacheSweaveDriver

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

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions