From ripley at stats.ox.ac.uk  Thu Apr 26 18:30:29 2007
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Thu, 26 Apr 2007 17:30:29 +0100 (BST)
Subject: [Rd] path autocompletion in 2.5.0
In-Reply-To: <BBE5F8EB-510B-453C-B30B-51693899E79A@ic.ac.uk>
References: <BBE5F8EB-510B-453C-B30B-51693899E79A@ic.ac.uk>
Message-ID: <Pine.LNX.4.64.0704261723340.23447@gannet.stats.ox.ac.uk>

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



[Rd] path autocompletion in 2.5.0
Prof Brian Ripley