This is my first time that I want to use citations in my rmd file and I don't know how can I do it exactly. I converted my rmd file to pdf document, but I have problem in generating reference and bibliography. I get this error while knitting:
pandoc-citeproc.exe: Could not find bibliography.bib pandoc.exe: Error running filter pandoc-citeproc Filter returned error status 1 Error: pandoc document conversion failed with error 83
This is my yaml context:
> title: "Context" > author: "Minoo" > date: "2017/06/06" > output: > pdf_document: > toc: true > toc_depth: 3 > bibliography: bibliography.bib > vignette: > > %\VignetteIndexEntry{Context} > %\VignetteEngine{knitr::rmarkdown} > %\VignetteEncoding{UTF-8}
and I have listed my citations like this in the last part of my rmd file:
@article{@Csardi2006, Csardi G, Nepusz T: The igraph software package for complex network research, InterJournal, Complex Systems 1695. 2006. http://igraph.org}
@article{@Butts2015, Butts C (2015). network: Classes for Relational Data. The Statnet Project (http://statnet.org). R package version 1.13.0, http://CRAN.R-project.org/package=network.}
@article{@Butts2008, Butts C (2008). “network: a Package for Managing Relational Data in R.” Journal of Statistical Software, 24(2). http://www.jstatsoft.org/v24/i02/paper.}
I either cite them in my contexts as [@Csardi2006]. Any idea to solve this problem? More specifically,how can I cite in a rmd file?