I asked this question at stackexchange, but received no answers.
R Markdown produces a document without error but ignores my bibtex file.
The citations are ignored and the reference list at the end of my document is empty.
... blah, blah [@sde] [@iacus].
My r-markdown chunk file is as follows:
title: 'CF: A Package'
author: Paul J. Ossenbruggen
date: '2018-01-25'
type: default
output: html_document: toc: no theme: united highlight: tango bibliography: CF.bibtex link_citations: true
css: styles.css
Removing css: styles.css make no difference.
sessionInfo()
R version 3.4.3 (2017-11-30) Platform: x86_64-apple-darwin15.6.0 (64-bit) Running under: macOS High Sierra 10.13.3
Matrix products: default BLAS: /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib LAPACK: /Library/Frameworks/R.framework/Versions/3.4/Resources/lib/libRlapack.dylib
locale: [1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8
attached base packages: [1] stats graphics grDevices utils datasets methods base
other attached packages: [1] Basic_0.1.0
loaded via a namespace (and not attached): [1] compiler_3.4.3 backports_1.1.2 magrittr_1.5 rsconnect_0.8.8 rprojroot_1.3-2 htmltools_0.3.6 [7] tools_3.4.3 yaml_2.1.18 Rcpp_0.12.15 stringi_1.1.6 rmarkdown_1.9 knitr_1.20
[13] stringr_1.3.0 digest_0.6.15 evaluate_0.10.1
My bibtex file is:
@book{iacus, Author = {Stefano Iacus}, Publisher = {Springer-Verlag}, Title = {Simulation and Inference for Stochastic Differential Equations: With R Examples}, Year = {2008} }
@Manual{sde, title = {sde: Simulation and Inference for Stochastic Differential Equations}, author = {Stefano Maria Iacus}, year = {2016}, note = {R package version 2.0.15}, url = {https://CRAN.R-project.org/package=sde}, }
I have searched for a solution.
The following suggestion of establishing a path to my CF.bibtex made no difference.
PJO:Basic PJO$ (setq reftex-default-bibliography '(/Users/PJO/Desktop/Basic/CF.bibtex"))