firaSave: Save plots that use the fira theme

Description Usage Arguments See Also

View source: R/theme_fira.R

Description

This function behaves like ggsave but automatically embeds the fira font if the output format requires it. Install 64-bit GhostScript for this functionality. Currently only works automatically on Windows. For other platforms, run the following with the _correct_ location to the installed GhostScript Binary: Sys.setenv(R_GSCMD = "bin/gs/gs9.23/binaryname")

Usage

1
firaSave(filename = "plot.pdf", device = "pdf", ...)

Arguments

filename

path to a file

device

which type of output device to use

...

other arguments passed to ggsave

See Also

ggsave


vankesteren/firatheme documentation built on April 16, 2021, 4:12 a.m.