Potential path issue with Quarto Preview in Positron #15614
|
Not sure if this should be an issue as it could be a problem with my setup, but my Quarto preview is no longer working in Positron but seems to work when calling Quarto from CLI (git bash) or RStudio. Consider this simple Quarto document ( When I try to Quarto I have just updated R to see if there was an interpreter issue but the error remains the same, previous error started with As mentioned above, this works fine in RStudio or Git bash, not sure what to make of the error. Has anyone else had similar issues or see something I'm missing? System details:Positron and OS details:Positron Version: 2026.08.1 (user setup) build 2 Session details:Using R 4.6.1 in the default location ( |
Replies: 2 comments 4 replies
|
It sounds like
|
|
I have a theory, if you are up for checking something out! I see In a Git Bash terminal in Positron, please run: printf '%s\n' "$QUARTO_R" | cat -vThe Another, if you have time, would be to open a PowerShell terminal in Positron and run |
I have a theory, if you are up for checking something out! I see
C:\Program Files\R\R-4.6.indin your error, which looks like your R path (C:\Program Files\R\R-4.6.1\bin\x64) after a shell decoded the backslashes as escape characters.\bbecomes a backspace, and\x64becomes the letterd. Positron setsQUARTO_Rfor the terminal, so a mangled value there explains why Quarto cannot find R.In a Git Bash terminal in Positron, please run:
The
cat -vpart matters. Without it, the terminal renders the backspace and hides the evidence. If my theory is correct, the output contains a literal^H:Another, if you have time, would be…