I begin to use R-markdown recently. However, my script is included in a giant loop which groups several other loops inside. To deconstruct my code I created several chunks which I have named.
Can we run several chunks in one and same loop, without having to put everything in one chunk?
If this is not possible, is it possible to save the chunks by name and then reuse them further and compile them into the loop that would be in a single chunk? Basically, compile several chunks into a loop that is in one chunk. I don't know if this is possible, hence my question here.
Thank for your help.