bib: Create the bibtex entry

View source: R/beginr.R

bibR Documentation

Create the bibtex entry

Description

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

Usage

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

bib()

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

## End(Not run)

pzhaonet/beginr documentation built on July 19, 2023, 1:57 p.m.