ggexport: Simpler ggsave with useful defaults

Description Usage Arguments

View source: R/ggexport.R

Description

Alternative implementation of ggsave (from ggplot2 package) with nice defaults. Only GNU/Linux with libnotify macOS are supported right now.

Usage

1
2
ggexport(filename, size = "medium", dpi = 96, font = NULL,
  extension = "pdf")

Arguments

filename

Destination path of the exported plot

size

Selected plot size, to choose between "medium" and "small" or as a vector

dpi

DPI used when exporting the plot

font

Optional selected font, to choose between "lmodern" and "palatino"

extension

Extension of the exported plot, either "pdf" or "png"


aldomann/alfR documentation built on May 15, 2020, 8:08 p.m.