[Rd] [ANN] bash completion for R

From: Deepayan Sarkar <deepayan_at_stat.wisc.edu>
Date: Wed 30 Nov 2005 - 19:19:19 GMT

[This is of potential interest primarily to bash users and R package
developers (hence the posting to r-devel only). Others, feel free to ignore.]

I have been using bash's command completion features [1] for a while now, to the point where I expect everything to just work when I hit TAB. Since there was no bash completion for R (that I knew of), I took a stab at it myself last summer. This was my first major effort in bash programming, so it's far from perfect, but it mostly works. In case anyone's interested, the script is available at

http://www.stat.wisc.edu/~deepayan/R/R.bash_completion

which has more details on installation and use.

Any feedback/improvements appreciated.

-Deepayan

[1] http://www.caliban.org/bash/#completion



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu Dec 01 06:21:44 2005

This archive was generated by hypermail 2.1.8 : Thu 01 Dec 2005 - 05:20:53 GMT