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 a script:
In the console, single line:
In the console, multiple lines: