Learn R Programming

beginr (version 0.1.7)

bib: Create a bib file for R packages, including the citations of user-defined packages.

Description

Create a bib file for R packages, including the citations of user-defined packages.

Usage

bib(pkg = c("base"), bibfile = "")

Arguments

pkg

character. Packages

bibfile

character. File path and name to save the bib entries. If "" (the default), it prints to the standard output connection, the console unless redirected by sink.

Value

bib entries

Examples

Run this code
# NOT RUN {
bib()
bib(pkg = c("mindr", "bookdownplus", "pinyin"))
# }

Run the code above in your browser using DataLab