quarto-dev / quarto-dev/quarto

Display logging message in RStudio console

Open
#338 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
645
Forks
62
Avg merge
17h 42m
Merged PRs (30d)
13

Description

Hello,

I come from Rmarkdown, and I realize that the logging system in Quarto may be different.

I want to check stuff in the RStudio console while the document is being rendered, but I cannot send any message to it. Actually the messages get displayed in the output:

---
title: Well-being Survey 2023 Analysis
---

```{r}
#| include: false
#| messages: false

message("hello")

(the closing backticks are missing because I don't know how to tell GitHub not to treat them as a code fence)

I expected to see "hello" in the RStudio background job panel, but nothing. Using message: true doesn't change anything. How does one debug chunks?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing how the R code chunk's message is handled during Quarto rendering and how output is routed relative to the RStudio background job panel. Reproduce the issue with the supplied Well-being Survey example and confirm that a diagnostic message reaches the expected console when done.

Written by the indexing model from the issue text.

Assessment

Tech stack
r
Domain
developer-experience
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.