[ESS] completion of colnames with spaces

Vitalie Spinu @p|nuv|t @end|ng |rom gm@||@com
Tue Aug 25 19:25:04 CEST 2015


Shouldn't be too difficult to add.

I have opened a new issue here https://github.com/emacs-ess/ESS/issues/226 and
assigned myself as I plan for other completion enhancements pretty soon.


  Vitalie

>> On Mon, Aug 24 2015 11:57, Andreas Leha wrote:

> Hi all,

> This is question / feature request about completion of colnames with
> spaces.  Is it possible to have backquotes inserted automatically when
> completing problematic names?  If not, could that be made possible?

> Neither auto-complete nor company completion seem to do this right now.

> As an example take the following data.frame with point at the '|':

> tmp <- data.frame(`name with space`=1, b=2, check.names = FALSE)
> tmp$na|


> Upon completion (great that it works and offers even problematic names!)
> I get

> tmp$name with space


> but it would be much more useful to actually get

> tmp$`name with space`

> Thanks,
> Andreas

> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help




More information about the ESS-help mailing list