Everything I am finding online discusses highlighting matching parentheses, but I'm wondering if there is a specific editor theme or perhaps something else I could use for R studio that will color code matching parentheses within nested parentheses. New R user here. Thank you in advance.
Enabling Rainbow Parentheses Open Global Options from the Tools menu. Select Code -> Display. Enable the Rainbow Parentheses option at the bottom.
There is an option to do this in RStudio however it only last the length of a click.
Given this simple code:
for (x in 1:10){
print("Line 1")
print("line 2")
}
If you double click right after any sign that requires a closing sing such as
()
{}
Then the code on the parenthesis will be highlighted. Example see what's inside the first parenthesis
Or see the content of the for loop
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With