I'm struggling to find anything like this on forums or manuals, but I would like to find this feature.
Is there a way to run a chunk in Rstudio while keeping it hidden like below?
This feature would be great when writing documentation/write-up within the same file and testing and updating the code.
As far as I can see, whichever way I run it, it unfolds/shows the chunk contents like below.
Thanks!