Labeling Rcpp chunks in quarto

Hello,

What is the equivalent of

#| label: my_label

for an Rcpp chunk?

I tried:

  • //| label: my_label
  • #| label: my_label

But neither appear in the RStudio outline.

Thank you in advance!

It seems like this is not well supported in RStudio IDE - you could report it there.