2016-04-24 16 views
5

मैं निम्नलिखित दस्तावेज़, कि मैं Rstudio साथ संकलित करने के लिए कोशिश कर रहा हूँ:pandoc-citeproc त्रुटि 83 Rmarkdown साथ फाइल

--- 
title: 
shorttitle: 
author: 

bibliography: 
    - library.bib 

output: papaja::apa6_pdf 
--- 

```{r message = FALSE, warning = FALSE} 
library("papaja") 
apa_prepare_doc() # Prepare document for rendering 
``` 
# Introduction 

@Bakan1966 

# References 
```{r create_r-references} 
r_refs(file = "r-references.bib") 
``` 

जब मैं बुनना चलाने के लिए, यह .md फ़ाइल को संकलित करता है, लेकिन pandoc त्रुटि देता :

pandoc-citeproc: "stdin" (line 232, column 2): 
unexpected "a" 
expecting "c", "C", "p", "P", "s" or "S" 
pandoc: Error running filter /Applications/RStudio.app/Contents/MacOS/pandoc/pandoc-citeproc 
Error: pandoc document conversion failed with error 83 
In addition: Warning messages: 
1: In yaml::yaml.load(enc2utf8(string), ...) : 
    NAs introduced by coercion: 1,2,3 is not an integer 
2: In yaml::yaml.load(enc2utf8(string), ...) : 
    NAs introduced by coercion: 1,2,3 is not an integer 
Execution halted 

मैं चारों ओर विभिन्न विषयों पर इसी तरह की समस्याओं पाया है लेकिन प्रस्तावित समाधान से कोई भी मेरे लिए काम किया ...

उत्तर

5

"हल"।

समस्या मेरी लाइब्रेरी.बीआईबी फ़ाइल से आता है।

मैं Mendeley है, जो कि pandoc-citeproc द्वारा समर्थित नहीं हैं विशेष वर्ण का एक बहुत डाल दिया है का उपयोग कर इसे उत्पन्न किया है ...

+0

मैं आधार, शिकागो शैली, काम करने के लिए उद्धरण प्राप्त कर सकता हूं: http://rmarkdown.rstudio.com/authoring_bibliographies_and_citations.html#citation_styles, लेकिन काम करने के लिए अतिरिक्त कोई भी .csl फ़ाइलें नहीं मिल सकती हैं। क्या आपके पास काम करने के लिए .csl प्राप्त करने की कोई किस्मत है? – symbiotic

+0

व्यक्तिगत रूप से, मेरे पास एक उद्धरण में टैग प्रविष्टियों को अलग करने वाला एक लापता कॉमा था - व्यापक पाठ यह शायद आपकी .bib फ़ाइल में एक वाक्यविन्यास त्रुटि है। आप संकुचित कर सकते हैं कि त्रुटि का स्रोत कौन सा है [अपनी बीबी फाइल में '@' s को हटा रहा है] (https://tex.stackexchange.com/questions/21709/comments-in-bibtex) और पुन: संकलन ('pandoc' एक निष्पक्ष उद्धरण चेतावनी फेंक देगा, लेकिन कोई त्रुटि नहीं) इसके परिणामस्वरूप – MichaelChirico

1

मैं जब एक rmarkdown फ़ाइल जो arules::apriori() लागू बुनी त्रुटि 83 सामना करना पड़ा।

--- 
title: "[**Pattern Discovery in Data Mining** *Programming Assignment: Frequent Itemset Mining Using Apriori*](https://www.coursera.org/learn/data-patterns)" 
subtitle: "[**Data Mining** *by University of Illinois at Urbana-Champaign*](https://www.coursera.org/specializations/data-mining)" 
author: "[®γσ, Eng Lian Hu](http://englianhu.wordpress.com) <img src='figure/ShirotoNorimichi2.jpg' width='24'> 白戸則道®" 
date: "`r Sys.Date()`" 
output: 
    tufte::tufte_html: 
    toc: yes 
    tufte::tufte_handout: 
    citation_package: natbib 
    latex_engine: xelatex 
    tufte::tufte_book: 
    citation_package: natbib 
    latex_engine: xelatex 
bibliography: skeleton.bib 
link-citations: yes 
--- 

लाइन को हटाने के बाद यह ठीक काम कर रहा है: bibliography: skeleton.bib

संबंधित मुद्दे