Jua*_*dez 3 r bibtex rstudio r-markdown
我正在尝试使用 RMarkdown 的 bibtex 功能进行引文,但我的引文没有被呈现。
我使用的是最新版本的 R、RStudio 和 RMarkdown。
我的 rmd 文件如下所示:
---
title: "Music Recommender Systems"
output:
html_document:
theme: united
toc: yes
pdf_document:
toc: yes
word_document: default
bibliography: bibliography.bib
---
Blah blah @778431
Run Code Online (Sandbox Code Playgroud)
我的 bibtex 文件“bibliography.bib”保存在 .rmd 文件旁边,如下所示:
@inproceedings{778431,
author = {Lesaffre, Micheline and Leman, Marc and Martens, Jean-Pierre},
booktitle = {Dagstuhl Seminar Proceedings},
editor = {Crawford, T. and Veltkamp, R.C.},
issn = {1862-4405},
language = {eng},
location = {Dagstuhl, Germany},
pages = {1--11},
publisher = {Internationales Begegnungs- und Forschungszentrum fur Informatik (IBFI), Schloss},
title = {A user-oriented approach to music information retrieval},
url = {http://drops.dagstuhl.de/vollt...},
year = {2006},
}
Run Code Online (Sandbox Code Playgroud)
而不是呈现引文,输出只是说:
胡说八道@778431
这是怎么回事?要查看格式建议,请参阅http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html 我相信我的设置都是正确的,但如果我遗漏了一个小错误,我很高兴有人指出。
请注意,我最初在我的文件中尝试了 [@778431]。
经过一些测试,我将回答我自己的问题。不幸的是,RStudio/RMarkdown 不允许您使用数字引用标识符。我用 a778431 替换了 778431 并且上面的代码有效。听说Endnote产生数字标识符,所以为了endnote用户,我希望这个问题得到一些关注。
| 归档时间: |
|
| 查看次数: |
2104 次 |
| 最近记录: |