I was reading through the thread linked below, and @joels comment caught my attention:
It looks like in the console RStudio doesn't include column names in the dropdown if you press enter after the pipe, so that the
filter(statement is on a new line. I get the same behavior as you when I put
filter(on a new line.
In the console, multiple lines:
RStudio autocompletion in tidyverse and formula syntaxes - #4 by joels
For me it raised the question: is it possible to implement autocompletion in the console after pressing enter after a pipe? (either as user code, or as a feature of RStudio)