When creating plots with ggplot2 in RStudio, argument completion is not provided for facet_wrap() or facet_grid(). In contrast, for many other ggplot2 functions such as geom_point(), RStudio displays context-aware argument suggestions (e.g., stat =, mapping =, and other available parameters), as shown in the screenshot below.
This inconsistency makes it difficult to discover and use the available arguments for faceting functions, especially for users who rely on RStudio's autocompletion features.
geom_point()
facet_wrap()

When creating plots with ggplot2 in RStudio, argument completion is not provided for facet_wrap() or facet_grid(). In contrast, for many other ggplot2 functions such as geom_point(), RStudio displays context-aware argument suggestions (e.g., stat =, mapping =, and other available parameters), as shown in the screenshot below.
This inconsistency makes it difficult to discover and use the available arguments for faceting functions, especially for users who rely on RStudio's autocompletion features.
geom_point()
facet_wrap()