[ESS] completion of colnames with spaces

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Tue Aug 25 21:59:24 CEST 2015


On Tue, Aug 25, 2015 at 7:25 PM, Vitalie Spinu <spinuvit using gmail.com> wrote:
>
> Shouldn't be too difficult to add.

That sounds great, thank you in advance!
Note that in this context,  back quotes `abc`  and  double quotes
"abc"  are equivalent ... just in case one looks easier or more
logical (font locking?)
to implement.

Martin

>
> 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
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
>




More information about the ESS-help mailing list