Re: [Rd] Source for bash_completion.d/R?

2011-05-02 Thread Deepayan Sarkar
On Tue, May 3, 2011 at 4:40 AM, Dirk Eddelbuettel  wrote:
>
> On 2 May 2011 at 11:32, Sharpie wrote:
> | Hello, I was just tweaking the R build for the Homebrew package manager and 
> I
> | thought it would be nice to enable bash completion. I noticed that
> | Debian-based systems install `/etc/bash_completion.d/R` but could not find a
> | source for this file in the `etc` folder of the R source.
>
> Right. This started off via a suggestion by Deepayan and a quick install via
> a local-to-Debian-package-sources file, and has never moved away from that.
>
> I am CCing Deepayan now; it may indeed be useful to commit this in the R svn
> and to add it to the tarball as the feature is very, very useful if you
> deplay bash completion.

I vaguely remember a discussion on r-core where the consensus was that
this was too shell-specific to belong in the R sources.

It has been publicly available (for a long time) at

http://code.google.com/p/rcompletion/source/browse/trunk/bash_completion/R

(could use a little work now).

-Deepayan


>
> Dirk
>
> --
> Gauss once played himself in a zero-sum game and won $50.
>                      -- #11 at http://www.gaussfacts.com
>
>

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


Re: [Rd] Source for bash_completion.d/R?

2011-05-02 Thread Dirk Eddelbuettel

On 2 May 2011 at 11:32, Sharpie wrote:
| Hello, I was just tweaking the R build for the Homebrew package manager and I
| thought it would be nice to enable bash completion. I noticed that
| Debian-based systems install `/etc/bash_completion.d/R` but could not find a
| source for this file in the `etc` folder of the R source.

Right. This started off via a suggestion by Deepayan and a quick install via
a local-to-Debian-package-sources file, and has never moved away from that.

I am CCing Deepayan now; it may indeed be useful to commit this in the R svn
and to add it to the tarball as the feature is very, very useful if you
deplay bash completion.
 
Dirk

-- 
Gauss once played himself in a zero-sum game and won $50.
  -- #11 at http://www.gaussfacts.com

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel


[Rd] Source for bash_completion.d/R?

2011-05-02 Thread Sharpie
Hello, I was just tweaking the R build for the Homebrew package manager and I
thought it would be nice to enable bash completion. I noticed that
Debian-based systems install `/etc/bash_completion.d/R` but could not find a
source for this file in the `etc` folder of the R source.

Is the R bash completion script publicly available somewhere so that it
could be pulled in by curl?

-
Charlie Sharpsteen
Undergraduate-- Environmental Resources Engineering
Humboldt State University
--
View this message in context: 
http://r.789695.n4.nabble.com/Source-for-bash-completion-d-R-tp3490662p3490662.html
Sent from the R devel mailing list archive at Nabble.com.

__
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel