emacs-ess / ESS

Emacs Speaks Statistics: ESS
https://ess.r-project.org/
GNU General Public License v3.0
623 stars 162 forks source link

Column name completion #1208

Open davidbudzynski opened 2 years ago

davidbudzynski commented 2 years ago

Is there a way to receive completions for column names without having to use example_df$... notation?

Essentially, I want to emulate RStudio's behavior by having suggestions for column names only, which would be very useful when using data.table i.e.

dt[, .N, by = .(column_name_only)]

The example above currently does not work on my machine, and company does not suggest any column names within the by = .(...) part.

Is this possible at all?

maxecharel commented 2 years ago

this is a duplicate of https://github.com/emacs-ess/ESS/issues/253