Obsidian and R workflow

Hi everyone! I have also been struggling with this workflow and appreciate the comments. Paulge, I wonder if you have tried adding GitHub to the mix. This may sound cumbersome for those who are not familiar with Git and GitHub. However, as a novice, I can tell you it is easier to catch up than I thought. This is something that I’m trying right now and it seems to work:

  1. Create a repository in GitHub for your project (i.e. research paper).
  2. Install GitHub desktop to make a local copy of your repository on your computer.
  3. Create your “R Project” and link it to your repository using version control.
  4. Create (move a copy?) of your Obsidian Vault into the same local GitHub/R project folder.
  5. Start editing your obsidian notes in RStudio Or Obsidian and everything will be up to date.
  6. “Push” your changes into your repository.
  7. Your own ingredients to this recipe…

As I said, I’m testing this solution right now, and it passed the first test: Creating and editing notes alternatively in RStudio or Obsidian and being able to “Push” those changes to my repository in GitHub.

I haven’t tried these ones yet, but my hypotheses are:
You should not have to deal with relative paths for images.
The integration between Zotero, Better Bib Text, and R markdown should be seamless.

I’m curious about what could happen with code blocks. This is what I found in another forum: Handle (edit) other plain text file formats ( rmarkdown, tex, txt, code, etc ).

My plan is to use Obsidian for knowledge management (bibliography, etc) and knowledge exchange (network analyses) and keep the portions with code chunks as Rmd files.

4 Likes