-
Notifications
You must be signed in to change notification settings - Fork 331
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
Quarto can't locate R installation with path containing special characters #8688
Comments
Thanks for the report. This could be related to other codepage-related issues
The other error shown seems related too
Can you run the command at #4103 (comment) to check which codepage you have ?
Knowing the codepage will help us reproduce. thank you. |
Can you also run the command for quarto check with verbose mode activitated ? https://quarto.org/docs/troubleshooting/#verbose-mode This will show debug log about R detection. Thank you. |
I also talked with a friend later and he mentioned codepages. I've been mostly on Linux the last while so I need to get more into Windows again. I haven't tried running through Rstudio yet. Get-ItemPropertyValue -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Nls\CodePage" -Name ACP 1252 Get-ItemPropertyValue -Path "HKCU:\SYSTEM\CurrentControlSet\Control\Nls\CodePage" -Name ACP Error Message:
# The key we need
Get-ChildItem -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Nls\CodePage"
Get-ChildItem -Path "HKCU:\SYSTEM\CurrentControlSet\Control\Nls\CodePage" also erroring not found # All properties available
Get-ItemProperty -Path "HKLM:\SYSTEM\CurrentControlSet\Control\Nls\CodePage"
error, not found Lastly the output of quarto check with the debug mode on is:
|
@rroelz is the I am interesting in the log for R ( Thanks |
The checking knitr doesn't execute when calling $env:QUARTO_LOG_LEVEL="DEBUG" gives the following response output:
So it seems to find R in the path but then can't locate it because of the codepage I imagine Just to be sure I reran |
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.
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
Quarto check output
The text was updated successfully, but these errors were encountered: