Comments (12)
- In your tutorial (https://github.com/crsh/citr) there is a link to instal Better Bib(La)TeX extension. However, the informed link ("https://retorque.re/zotero-better-bibtex/) is to instal Better BibTeX, NOT Better Bib(La)TeX . Is this correct?
Sorry for the imprecision. I've changed all instances of "Better Bib(La)TeX" to "Better BibTeX". The linked-to extension is correct.
- When I started a new RMarkdown file, and I asked to insert citations, it read a previous "references.bib" file from my last opened RMarkdown file. However, I would like to link the new references to my whole Zotero Library. How do I do that?
Hmm, the addin really does the opposite. It inserts references from your Zotero library into the bibliography file specified in the YAML front matter (e.g., bibliography: references.bib
) whenever you insert a citation into the R Markdown document. If Better BibTeX is installed and Zotero is up and running, you should see "Zotero connection available. Connect and load libraries" at the "Insert Citation" tab. If you click the action link, you should be able to search and insert all references from the Zotero libraries specified at the "Settings" tab.
- How to I generate the list of references at the end? I included a #References section at the end and ran the knit at Rstudio, but it did not run. Do I need any packages to generate the references automatically, such as Bookdown package?
If you specify the bibliography file in the YAML front matter, R Markdown should take care of generating the reference section.
from citr.
It's working!
Thank you and congratulations for the great package!
from citr.
To connect to Zotero, you need to install the Better Bib(La)TeX Plugin for Zotero and start Zotero. If the installation was successful the addin should should offer an action link at the "Insert citation" tab to load the selected libraries ("Zotero connection available. Connect and load libraries"). Is this not the case for you?
from citr.
Thank you for your answer. I have a few (maybe stupid) questions:
- In your tutorial (https://github.com/crsh/citr) there is a link to instal Better Bib(La)TeX extension. However, the informed link ("https://retorque.re/zotero-better-bibtex/) is to instal Better BibTeX, NOT Better Bib(La)TeX . Is this correct?
- When I started a new RMarkdown file, and I asked to insert citations, it read a previous "references.bib" file from my last opened RMarkdown file. However, I would like to link the new references to my whole Zotero Library. How do I do that?
- How to I generate the list of references at the end? I included a #References section at the end and ran the knit at Rstudio, but it did not run. Do I need any packages to generate the references automatically, such as Bookdown package?
Thank you and congratulations for the package! Very useful!
from citr.
Thanks for your answer! #1 and #2 are solved. However, #3 (automatic list of references at the end) is not. Markdown does not find references.bib file and does not generate any HTML or PDF.
The YAML is as follows:
title: "test"
author: "xxx"
date: "1/30/2019"
output:
pdf_document: default
html_document: default
bibliography: references.bib
The error message is as follows:
"pandoc-citeproc: Could not find references.bib
CallStack (from HasCallStack):
error, called at src/Text/CSL/Pandoc.hs:224:39 in pandoc-citeproc-0.10.4-BdOyQb33rzG2TMOLj4Fbp9:Text.CSL.Pandoc
pandoc: Error running filter /Applications/RStudio.app/Contents/MacOS/pandoc/pandoc-citeproc
Filter returned error status 1
Error: pandoc document conversion failed with error 83
Execution halted".
Thank you!
from citr.
The error message tells you that pandoc-citeproc
cannot locate the reference.bib
file. It's probably not located in the directory of the R Markdown file?
from citr.
Hi,
I am having trouble with using the Insert citations addin. I click Insert citations, then Connect and load libraries, and it attempts to load, showing a progress bar getting started, but then RStudio just spontaneously aborts. It happens every time. Any suggestions? My code looks like this:
title: "citr demonstration"
author: "James Cutler"
bibliography: Bibtex_Zotero_library.bib
output: html_document
DNA microarrays are small glass slides containing thousands of spots (called "features") printed on them. Each spot contains millions to tens of millions of single-stranded DNA probes that are complementary to specific regions of the genome, like specific genes [I WOULD LIKE MY CITATIONS TO GO HERE].
from citr.
Never mind. I tried exporting just a single collection in my zotero library as thesis_references.bib, and then with the following:
bibliography: thesis_references.bib
It worked. The new .bib file that just includes one collection from my zotero library is 9 KB. My entire library, Bibtex_Zotero_library.bib, is 694 KB. Not sure why R would completely crash just because I try to use my zotero library in the bibliography YAML header. It can't be the size of the file, for example, right?
from citr.
Hi James, hmm, it's hard to tell what's going on without additional information. Could you post the error message? Could you also try exporting the entire bibliography to Bib(La)TeX and reading it into R using RefManageR::ReadBib()
?
from citr.
Hello James, In regards to your most recent comment you've got the workflow that works for what you are trying to accomplish. From my experience you may run into instability with the shiny app if you are accessing a tonne of records at once which is why generating sub-collections is helpful. However, I'm not sure you will run into huge issues.
from citr.
from citr.
Thank you for getting back to me so quickly! I'm glad I was able to find an easy fix! Thanks again, James
…
On Tue, Jun 23, 2020 at 6:13 PM diatomm @.***> wrote: Hello James, In regards to your most recent comment you've got the workflow that works for what you are trying to accomplish. From my experience you may run into instability with the shiny app if you are accessing a tonne of records at once which is why generating sub-collections is helpful. However, I'm not sure you will run into huge issues. — You are receiving this because you commented. Reply to this email directly, view it on GitHub <#47 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AINUXL2VWVMIW6QIYQELGA3RYEZIHANCNFSM4GSFHJFQ .
I am experiencing the same issue @jcutler79. How did you fix it?
When I click the Connect and load libraries
, it aborts. See image below. In my case I exported all the references within a collection from zotero, about 54KB. It was working fine yesterday. I'm not sure what the issue could be.
P.S: I am a novice at R and very new to papaja and zotero.
from citr.
Related Issues (20)
- Referencing from entire zotero library, rather then exported library-user problem HOT 5
- Citr Aborts session when accessing library HOT 9
- RStudio 1.4 to provide Zotero integration HOT 1
- citr crashes connecting to Zotero library HOT 11
- citr currently not available from CRAN HOT 13
- Error in callFun: argument "location" is missing HOT 4
- Allow for different types of citation key formats in tidy_bib_file() HOT 3
- Allow bibtype "Document" to be read by citr HOT 3
- Citr is not allowed to install in R ver. 4.0.2, Please update! HOT 2
- requires RStudio 0.99.796 or newer (your version is 1.3.1093) HOT 4
- later: interrupt occurred while executing callback. HOT 1
- Error loading Bibtex for second citation insert, citr crashes after inserting one citation
- Add ability for `tidy_bib_file()` to scan `_bookdown.yml` HOT 1
- Error when 2 citations have same author (without parenthesis)
- Error when using the addin: condition length > 1
- How do you implement server-side selectize? HOT 1
- Specific `knitr` and `citr` failure with out.width option
- Error in data.frame: arguments imply differing number of rows HOT 2
- Exporting bib file can successfully be useful and insert citation is ok, but once clicking "Connect and load libraries", it crashed. HOT 4
- The name list field author cannot be parsed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from citr.