Document outline not showing labelled code chunks

Hi,
in the past, whenever I was naming a code chunk like

{r cars}

I was able to see it in the document outline of my R Notebook.
Now, the only thing that works in the outline are functions of a regular R scripts, or real document outlines using ##

Here below is an example where "InvisibleInTheOutline" does not show up in the outline.
Is that normal?

Do you recall with which version you think it was working ?
For me, the outline on the right only show title document content.

However, the chunk name can be seen alongside title and functions at the bottom
image

You can try older version by downloading from Older Versions of RStudio - RStudio

No, I don't recall exactly, but I know I started naming chunks because I liked this right side panel, so I am pretty sure about this. the bottom menu requires too many clicks, imho :wink:

1 Like

Ok, I feel bad.
It's all in the Global Options...

1 Like

Thanks for sharing ! I did not knew that ! :+1:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.