pat-s
pat-s

Reputation: 6312

Hide R code chunks from outline view in RStudio

When writing .rmd or .Rnw reports in RStudio, the outline view shows both code chunks and regular sections. While code chunks appear italic, regular sections do not. However, writing large reports with many similar named chunks will lead to a really bulky outline view with many similar labels.

enter image description here

Is there currently a way to turn one of them off? Either regular sections or the code chunks.

Upvotes: 7

Views: 2231

Answers (1)

Philip Parker
Philip Parker

Reputation: 639

As per my comment: global options -> Rmarkdown -> show in document outline change to show sections only

Upvotes: 9

Related Questions