In a given R file with the attached stats, even though most of the file has 2 character indenting, when I hit tab I always get 4.
Actually, the file is all indented with 2 characters, but continued lines sometimes have more indenting.
I've attached some sample code.
Line 9 This line will indent by 4
Line 10 This line will indent by 6 - unless you put a #Comment at the end of line
Actually, place cursor on line 136 and hit tab.
Now do the same for 9, 10, 11, etc
it keeps increasing