Hello, I am new on the list and in R language. I only have one question - could it be achieved that pressing a TAB key autocompletes the possible directions to the R language. This is a Unix feature and it would greatly boost the performance. I have R-1.3.1 installed on Linux. Gorazd -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On 05/27/02 16:48, Gorazd Brumen wrote:>Hello, > >I am new on the list and in R language. I only have one question - >could it be achieved that pressing a TAB key autocompletes >the possible directions to the R language. This is a Unix >feature and it would greatly boost the performance. > >I have R-1.3.1 installed on Linux.This is a feature of Emacs Speaks Statistics (ESS), which has a link in the main R web page: http://stat.ethz.ch/ESS/ This is a very nice way to run R on Linux. You start Emacs or Xemacs and then say alt-X R to start R within (X)Emacs - or you can just say (x)emacs -f R. Then you open a new window with Emacs or gnuclient (which is the way to do it if you use Xemacs)) and load your R commands, if you have them in a file. Then you can cut and paste between the two buffers. In R itself you get command completion with tab. There are other ways to use ESS, but this is just the way I do it, which you might want to try. And of course you should be using the most recent version of R! There are RPMs, so installation is easy. -- Jonathan Baron, Professor of Psychology, University of Pennsylvania Home page: http://www.sas.upenn.edu/~baron -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Gorazd Brumen <gorazd.brumen at student.fmf.uni-lj.si> writes:> Hello, > > I am new on the list and in R language. I only have one question - > could it be achieved that pressing a TAB key autocompletes > the possible directions to the R language. This is a Unix > feature and it would greatly boost the performance. > > I have R-1.3.1 installed on Linux.That's getting a bit old, although R hasn't changed much in this particular regard. ESS (Emacs Speaks Statistics) includes object name completion, and also the readline library used for commmand-line editing on unix-like system has the basic functionality, although it is currently wired for *filename* completion. There hasn't been all that much incentive to change the current readline setup, partly because you actually use the filename completion occasionally. However, if someone wants a small programming project, they might consider porting things from ESS into R/readline... (and, BTW, also into the Mac/Windows/Gnome interfaces) -- O__ ---- Peter Dalgaard Blegdamsvej 3 c/ /'_ --- Dept. of Biostatistics 2200 Cph. N (*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918 ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._