[Rd] path autocompletion in 2.5.0
ernest.turro at ic.ac.uk
Thu Apr 26 18:45:17 CEST 2007
Apologies for missing that in NEWS.
Apart for auto-completion breaking for paths with '-', this sounds
On 26 Apr 2007, at 17:30, Prof Brian Ripley wrote:
> 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:
>> R 2.5.0 isn't auto-completing paths properly as it used to. E.g.
>> suppose I have:
>> > dir("CEL/choe")
>>  "chipC-rep1.CEL" "chipC-rep2.CEL" "chipC-rep3.CEL" "chipS-
>>  "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:
>> R-devel at r-project.org mailing list
> 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