Replies: 5 comments 2 replies
-
Beta Was this translation helpful? Give feedback.
-
Actually, I've realised that this is actually a completely different problem. Everything works exactly as expected for .Rmd files in Positron on my work laptop, but not on my personal laptop. On my personal laptop, everything works as expected with .qmd files, but .Rmd files don't seem to be being recognised as a special type of file. Not only can't I insert code cells with the keyboard shortcut, there's no syntax highlighting, no preview button, and if I try to send a line of code to the console, I get the message "Cannot execute code. Unable to start a runtime for the rmarkdown language." What an earth might be going on? |
Beta Was this translation helpful? Give feedback.
-
Do you see an R interpreter being detected when you click the interpreter dropdown? ![]() Can you run simple lines of R code in the console? |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
Thanks for the suggestions, Julia. Here's a weird(?) thing. In the latest release of Positron (2025.02.0-171) I do have the built-in Quarto extension enabled (and .qmd files work as expected, just not .Rmd ones). I went to look at ![]() I thought maybe that's the problem. So I went back to Positron 2024.10.0-13 (the version that's working absolutely fine for both .qmd and .Rmd files on my work laptop), and now the ![]() This is the output of
@juliasilge, @testlabauto, thank you for helping me troubleshoot this :) |
Beta Was this translation helpful? Give feedback.
-
Hello! The keyboard shortcut option-command-I work for inserting a new code cell into a Quarto document. However, it doesn't work (at least for me) in a .Rmd file, whereas in RStudio, that keyboard shortcut works in both file types. Am I missing something obvious? Is there a setting that I can adjust to allow this shortcut in a .Rmd file (and, if so, how), or is this a missing feature or bug? I have the RStudio keymap enabled.
Beta Was this translation helpful? Give feedback.
All reactions