twibiral / obsidian-execute-code

Obsidian Plugin to execute code in a note.
MIT License
1.06k stars 67 forks source link

Cannot run R code #298

Closed vojtam closed 11 months ago

vojtam commented 11 months ago

Hello everyone, I have just installed the plugin as I wanted to run some R code in my notes. Unfortunately, I am getting the following error message:

Error: spawn /usr/local/bin/Rscript ENOENT

The path to Rscript above is the result of running which Rscript and I have put it into the plugin's settings for R.

I am using Linux.

Running Rscript from the command line from this path shows no problems.

vojtam commented 11 months ago

Oh, I have just noticed that my issue is probably caused by my obsidian being flatpak. Should have read the whole README first :laughing: