unclip: knitr hook to remove clipping from plots produced with the...

View source: R/unclip.R

unclipR Documentation

knitr hook to remove clipping from plots produced with the tikzDevice.

Description

Note that the chunk options unclip = TRUE and external = FALSEmust be set for the hook to come into effect!

Usage

unclip(before, options)

Arguments

before

see knit_hooks

options

see knit_hooks

Value

Called for side effect. The files containing tikz plots are edited and overwritten.

See Also

set_ggtikz_unclip_hook to set the knitr hook.

unclip_tikz, the workhorse function for this hook.


osthomas/ggtikz documentation built on June 16, 2024, 6:55 a.m.