Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

R plots not displaying #256

Closed
dominicwhite opened this issue May 21, 2023 · 3 comments · Fixed by #266
Closed

R plots not displaying #256

dominicwhite opened this issue May 21, 2023 · 3 comments · Fixed by #266

Comments

@dominicwhite
Copy link

I am not able to get R plots to display below the code block that created them, for example:

Screenshot from 2023-05-21 14-30-00

However, I was able to verify that the corresponding image file output is being created, and stored in my /tmp folder:

Screenshot from 2023-05-21 14-25-39

Any idea why the plugin or Obsidian cannot seem to find these files to embed in the actual document?

Regular R code (without plots) runs fine and displays output text. I have tried toggling the plugins various R settings on and off (e.g. notebook mode) and restarting Obsidian, but I have not been able to fix the plot issue.

For reference, this is with Rscript v 4.1.2, Obsidian v1.2.8, and Execute Code v1.8.1, all running on PopOS (i.e. Ubuntu) 22.04.

@mayurankv
Copy link
Contributor

mayurankv commented Jun 5, 2023

This is also an issue for octave plots. It's a result of app://local/ links no longer working for <img> tags.

@mayurankv
Copy link
Contributor

This is documented at the v1.2.8 release notes.

@twibiral
Copy link
Owner

Fixed in Version 1.9.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants