开源软件名称(OpenSource Name):crsh/citr开源软件地址(OpenSource Url):https://github.com/crsh/citr开源编程语言(OpenSource Language):R 84.4%开源软件介绍(OpenSource Introduction):citr: RStudio Addin to Insert Markdown Citations
Installation
# install.packages("citr") or the current development snapshot from this GitHub repository: devtools::install_github("crsh/citr") How to use citrThe RStudio addinOnce The addin will automatically look up the bibliography files specified in
the YAML front matter. If the document does not contain a YAML front
matter the addin will attempt to locate a parent document and look up
the bibliography file specified therein. That is, the addin works its
automagic even if you edit R Markdown documents that are included as
children in another R Markdown
document. The expected names of a parent document default to
Using citr without RStudioThe following call searches a bibliography file and creates formatted Markdown citations for the results. library("citr")
md_cite("foo 2016", bib_file = "references.bib")
Better BibTeX integrationIf you are using Zotero Tidying bibliography filesWhen you are done writing, your bibliography file is likely to contain
some unneeded references, which you added while writing but removed
during revisions. tidy_bib_file(
rmd_file = "report.Rmd"
, messy_bibliography = "references.bib"
, file = "tidy_references.bib"
) Known problems
Once, the above error has occurred, it may be necessary to restart the R
session. Otherwise reading any other file may fail with Other RStudio addinsIf you are interested in other handy addins take a look at this list. There you can find other useful addins, such as rcrossref or wordcountaddin. Package dependencies |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论