bib: Create the bibtex entry

Description Usage Arguments Value Examples

View source: R/beginr.R

Description

Output the bibtex entry of installed packages. If bibfile is not "", bibentry will be saved to bibfile.

Usage

1
bib(pkgs = "base", bibfile = "")

Arguments

pkgs

character vector of package names to cite

bibfile

character string, file path to save the bib entries. If "" (the default), it prints to the standard output connection, or save the bibtex entry to bibfile.

Value

None (invisible NULL)

Examples

1
2
3
4
5
6
bib()

## Not run: 
bib(pkg = c("mindr", "bookdownplus", "pinyin"))

## End(Not run)

pzhaonet/beginr documentation built on March 27, 2021, 1:20 p.m.