From deepayan.sarkar at r-project.org  Tue May  3 08:49:50 2011
From: deepayan.sarkar at r-project.org (Deepayan Sarkar)
Date: Tue, 3 May 2011 12:19:50 +0530
Subject: [Rd] Source for bash_completion.d/R?
In-Reply-To: <19903.14796.109103.402299@max.nulle.part>
References: <1304361178399-3490662.post@n4.nabble.com>
	<19903.14796.109103.402299@max.nulle.part>
Message-ID: <BANLkTik2zh_o=8J7D9ACQsUJC8__nh0Vmw@mail.gmail.com>

On Tue, May 3, 2011 at 4:40 AM, Dirk Eddelbuettel <edd at debian.org> 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
>
>



[Rd] Source for bash_completion.d/R?
Deepayan Sarkar