Quarto can't locate R installation with path containing special characters
@cderv is already working on this.
Since Feb 12, 2024.
Assessment
This issue has not been assessed yet.
Description
Bug description
When trying to use quarto on my windows pc from RStudio or powershell it can't locate my R installation, breaking with the message.
ERROR: Error executing 'C:\Users\RobinR�lz\AppData\Local\Programs\R\R-4.3.2\bin\x64\Rscript.exe': Das System kann den angegebenen Pfad nicht finden. (os error 3)
Unable to locate an installed version of R.
Install R from https://cloud.r-project.org/
R has been added to the path at :C:\Users\RobinRölz\AppData\Local\Programs\R\R-4.3.2\bin\x64\R.exe
Steps to reproduce
Have R installed in a location with a special character (I wasn't able to try as this is only a work pc and I can't install anything outside my user account)
quarto.cmd render test.qmd
Expected behavior
Quarto renders the document.
Actual behavior
Quarto can't locate R and doesn't render the document.
Your environment
- Windows 11 Enterprise: 22H2
- Powershell: 1.0
- RStudio: Ocean Storm" Release (4da58325, 2024-01-28) for windows
- R: version 4.3.2 (2023-10-31 ucrt) -- "Eye Holes"
Quarto check output
Quarto 1.4.549
[>] Checking versions of quarto binary dependencies...
Pandoc version 3.1.11: OK
Dart Sass version 1.69.5: OK
Deno version 1.37.2: OK
[>] Checking versions of quarto dependencies......OK
[>] Checking Quarto installation......OK
Version: 1.4.549
Path: C:\Users\RobinRölz\AppData\Local\Programs\Quarto\bin\
CodePage: unknown
[>] Checking tools....................OK
TinyTeX: (not installed)
Chromium: (not installed)
[>] Checking LaTeX....................OK
Tex: (not detected)
(\) Checking basic markdown render....pandoc: Cannot decode byte '\xf6': Data.Text.Encoding: Invalid UTF-8 stream
[>] Checking basic markdown render....OK
- Dominant language
- JavaScript
- Stars
- 6k
- Forks
- 458
- Avg merge
- 1d 9h
- Merged PRs (30d)
- 41
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from quarto-dev/quarto-cli
-
binder bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
quarto-dev/quarto-cli#14907 · 3 comments ·
-
brand bug
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
quarto-dev/quarto-cli#14891 ·
-
brand bug html revealjs
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14882 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 85/100
quarto-dev/quarto-cli#14875 ·
-
Percent scripts: accept raw-string (r""") and '''-delimited markdown cells, as jupytext writes them Openengines-jupyter enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
quarto-dev/quarto-cli#14850 · 2 comments ·
All issues in quarto-dev/quarto-cli
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
avniproject/avni-client#2135 ·
-
automated broken-link
Difficulty 1/5 Under an hour Newbie friendliness 85/100
-
agent/security hive/hosted-available-lke648397-260827-5n31 security
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
babalae/bettergi-scripts-list#3674 ·
-
A-Release-Notes C-Editing D-Modest S-Ready-For-Implementation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bevyengine/bevy-website#2595 ·