Peng Yu wrote: > On Tue, Sep 29, 2009 at 3:47 PM, Tobias Verbeke > <tobias.verb...@gmail.com> wrote: >> Peng Yu wrote: >> >>> I want to compile R with command completion. But I don't find such an >>> option in configure. Can somebody let me know how to enable command >>> completion in an R session? >> AFAIK this is not an option you set when compiling. >> Did you try to type a letter (say 'l') and press the >> TAB key ? >> >> If you are not satisfied, you might want to use >> other R editors or development environments (such >> as StatET for Eclipse or ESS) which implement >> command completion in their idiosyncratic ways. > > I have an older version of R where I can do command completion (after > typing TAB, it will list variables that are starting with the already > typed letter. I compiled a newer version R with the default compile > options, which does not do command completion. > > Since the old version can do completion, I believe that there must be > a way to configure the new version also do so. Can somebody share your > insights with me? Thank you!
On linux this facility is provided by the readline system library; this should be configured to be true by default and when available; look at the end of the configure output, and check that you have the readline headers installed. Martin > > Regards, > Peng > > ______________________________________________ > R-help@r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. -- Martin Morgan Computational Biology / Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: Arnold Building M1 B861 Phone: (206) 667-2793 ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.