Last chance! 50% off unlimited learning
Sale ends in
Generate citation for a package.
p_citation(package = "r", copy2clip = interactive(),
tex = getOption("pac_tex"), ...)p_cite(package = "r", copy2clip = interactive(),
tex = getOption("pac_tex"), ...)
Name of the package you want a citation for.
logical. If TRUE
attempts to copy the output to the
clipboard.
logical. If TRUE
only the BibTex version of the citation
is copied to the clipboard. If FALSE
the standard citation is copied
to the clipboard. If NA
both are copied to the clipboard. Default
allows the user to set a "pac_tex"
in his/her .Rprofile.
Additional inputs to citation
# NOT RUN {
p_citation()
p_cite(pacman)
p_citation(pacman, tex = FALSE)
p_citation(tex = FALSE)
p_cite(knitr)
# }
Run the code above in your browser using DataLab