Indentation in Document Outline

Hello,
I like the document outline feature, but I can't figure out how to control the level of indentation it uses.

For example:
docoutline

I'm frustrated with the way the outline makes it look like there's more nesting in the code than there actually is.

Could someone please help me figure out how to fix this?

Thank you,
Alex DeLuca

What version of RStudio are you using? I cannot reproduce the indentation you're seeing.


# Heading 1 ----

f1 <- function(){
  
  f1.2 <- function(){
    NULL
  }
  
}

# Heading 2 ----

f2 <- function(){
  NULL
}

f3 <- function(){
  NULL
}

13%20AM

I'm on RStudio 1.2.1335, on Ubuntu 18.04

If its an RStudio version issue, that's too bad :/, as I can't change the version in my production environment.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.