[Rd] path autocompletion in 2.5.0

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Apr 26 18:30:29 CEST 2007


Did you actually look at the NEWS file?

     o	The Unix-alike readline terminal interface now does
 	command-completion for R objects, incorporating the
 	functionality formerly in package 'rcompletion' by Deepayan
 	Sarkar.  This can be disabled by setting the environment
 	variable R_COMPLETION=FALSE when starting R (e.g. in
 	~/.Renviron).  (Note that when this is enabled, filename
 	completion no longer works for file paths containing R
 	operators such as '+' and '-'.)

What 'properly' means is of course a matter of taste, but I am very 
surprised that you posted such a comment about something highlighted under 
USER-VISIBLE CHANGES as a configurable option.

R-devel has an option to fine-tune this behaviour.


On Thu, 26 Apr 2007, Ernest Turro wrote:

> Hi,
>
> R 2.5.0 isn't auto-completing paths properly as it used to. E.g.
> suppose I have:
>
> > dir("CEL/choe")
> [1] "chipC-rep1.CEL" "chipC-rep2.CEL" "chipC-rep3.CEL" "chipS-rep1.CEL"
> [5] "chipS-rep2.CEL" "chipS-rep3.CEL"
>
> Now if I do:
>
> ReadAffy("CEL/choe/ch<tab> # => ReadAffy("CEL/choe/chip
> ReadAffy("CEL/choe/chipC<tab> # => ReadAffy("CEL/choe/chipC-rep
> ReadAffy("CEL/choe/chipC-rep1<tab> # Nothing happens.
>
> in 2.4.1 that final line auto-completes properly to:
>
> ReadAffy("CEL/choe/chipC-rep1.CEL"
>
> Cheers,
>
> Ernest
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel
>

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595



More information about the R-devel mailing list