-
Notifications
You must be signed in to change notification settings - Fork 26
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_preview("script.R") gives 404 on "/" #167
Comments
Workaround: Run preview from the terminal, which opens a browser tab (not the RStudio viewer pane): quarto preview script.R |
This was because It will now parse the log message to use the same URL as |
I'm on quarto 1.4.4 and somehow I am still getting this error:
|
@idavydov The error was
Related to serving R files rendered with Quarto. From your shared code
So if you have an issue, this is probably different than this one. Please do open a new issue, and share a reproducible example, or all necessary information to help me look at it. Thanks. |
Hi @cderv , I'm happy to open a new issue, but are you positive it's a separate one? The only difference I see is that @aronatkins is using an R script, while I am using qmd.
The only reason there's no 404 in the logs is that I overrides the |
It could be or it could not, but having new issue helps us investigate in a clean way, and without creating too much notification to users of this closes threads that may not want to be notified about new things. (please don't ping users too aggressively unless necessary). It happens that past fixed don't cover all cases, but this is not helpful to comments and discuss in an old thread. Anyway, I created the new issue myself then so we can keep the discussion. |
Given a Quarto project with a trivial
_quarto.yml
and ascript.R
, callingquarto_preview()
against that script results in a 404 to the console and "Not Found" in the RStudio viewer pane.The
_quarto.yml
:The
script.R
:The
http://localhost:6730/script.html
URL printed by Quarto is correct, but RStudio visitshttp://localhost:6730/
.quarto-r: 1.4
quarto: 1.4.551
RStudio: 2024.04.0-daily+635
Filing here for tracking, but it may be a Quarto or RStudio issue.
Similar to rstudio/rstudio#11163
The text was updated successfully, but these errors were encountered: