Highlighting sections in R Studio


#1

Is there any option in R studio to highlight the selected section in a way similar to the option available on Spyder?

I'm trying to get used to the conventions of posting topics here..Excuse me if something is not in order!

Thanks!


#2

No, there isn't currently a way to do this. You can however define sections and use them for navigation, expand/collapse code folding, etc. More here:


#3

Thanks, Jonathan! The link is helpful though!


#4

@jonathan It would be really helpful if RStudio can have that feature in the future. It helps a lot if the code is long enough and I don't want to use the folding because I need to scroll up and down to check things.