read: Specify personal preference for shortcut functions

Description Usage Arguments Value Examples

View source: R/read.R

Description

[Experimental]

This function is is much like the well-known library function. It imports the abbreviations of a package and overwrites the existing mode. See ?default() to undo its effects.

Usage

1
read(package, pos = NULL)

Arguments

package

name of a package.

pos

position to insert package at in list of options. If NULL, a guess to a position is made.

Value

Change in turbokit options, changing the behavior of construct_complex

Examples

1
2
3
4
5
6
7
8
# add a package to the search tree of construct_coplex function.
read(scales)

# note: one exception exists in the naming conventions used
read(ggplot)

# specify a specific location, to determine a prefix to the abbreviation.
read(stringr, 3)

D-Se/turbokit documentation built on Dec. 17, 2021, 3:10 p.m.