-
Notifications
You must be signed in to change notification settings - Fork 0
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
I very much like the purpose of this plug-in #3
Comments
Hi Eric, took me a while to debug! So the quarto doc you share didnt run for me either, while others did. The label needs to be a string, which it is (see the is an e in there) but its not recognised as such by quarto, I think that might actually be a quarto bug so I'll open an issue with quarto and implement a quick patch for Ridian. This leaves R not running. The console is being crowded by to many logs from the autocomplete code, that's totally my fault, ill patch the logging so we can figure out the other issue for you. |
very nice of you to have a look at my dual problems. I'm running fairly new release of Quarto, maybe that's part of the story. Standing by to hear more about the patch to the logging |
for us to confirm the quarto issue is really this issue while we wait for the quarto ppl to respond, can you try and render with "hello" as the label (no quotes)? if that works then i can focus on the other issue |
are the following R packages installed on your machine?
|
note language server is new I hadnt updated the readme.md, just the website. |
No, I was missing I've installed those packages, closed and reopened Obsidian, but still Ridan doesn't run the code chunk when asked. Does it matter if RStudio is running at the same time, I presume Ridian creates a new instance of R for its own purposes. |
yes, I do get autocomplete suggestions in a new chunk that I created within the same Obsidian document. When I hit A side note: Your step 5 about installing packages missed my attention on first reading. This is because it was down below BRAT instructions. My brain shut off when I encountered BRAT instructions because I (incorrectly) assumed everything following that was out-of-date now that the plugin has been approved and BRAT was no longer necessary. Simply my habits as an impatient reader. |
So R works for sure, otherwise there is no autocomplete. can you try and run code that outputs text but not a plot? ‘’’r does it output a result? Can you ask for a help page: ‘’’r typing on my phone these might not be backticks but u think you get the point. |
Thanks this is the info I needed to narrow down where the issue lies, I have a win 11 test setup I can see about reproducing and then fixing the issue. Can you share the other plugins you use, these things can sometimes be plugin conflicts… |
So, I installed those that are available on the plugin "store", simply enabling those on win 11, then disabling and enabling Ridian I cant reproduce your failure. Given many of these plugins aren't on the store (you might have gotten them elsewhere, or they aren't being maintained anymore). I will fix the issue with the autocomplete excessively logging so you can at least see whats going on while the plugin tries to run R code and we can see if there is some kind of Ridian problem I can solve, but I cant realistically test for all possible plugin conflicts. Given R runs, and the autocomplete works, perhaps its some kind of callout (results should be printed to a callout)/code related plugin getting in the way? You can expect the update that fixes the console being flooded to be life before Monday. |
Understand you can't test for all conflicts. My plugin addiction is a bit extreme. I will try to do some plugin pruning at the weekend, and will let you know if there are useful developments. Thanks again for your help. |
I write R-code and Quarto documents almost daily. Same for Obsidian; appreciate effort bring them together.
However, I cannot make the plugin work on my Windows 11 machine. I have installed previous versions of the plugin and today installed version 0.1.1. I'm using it with R 4.4.2 and Quarto 1.6.38. I am confident I have properly specified paths (and consulted issue #1 closed two weeks ago.
C:\Program Files\R\R-4.4.2\bin\x64\R.exe
C:\Program Files\quarto\bin\quarto.exe
I don't need htmlwidgets at the moment, so not interested in Pandoc, but have configured it nonetheless
C:\Program Files\Pandoc\pandoc.exe
Working with a simple file with a single code chunk to create a histogram,
this is what the console shows:
Attempting a Quarto html render of the same file produces this at the console
Below is raw file:
You can see Ridian adds a label to the code chunk, but nothing else.
I appreciate your help.
The text was updated successfully, but these errors were encountered: