R-alpha: Command line switch for disabling file completion or full 'readline'?

Martin Maechler (maechler@stat.math.ethz.ch)
Fri, 6 Dec 96 15:52:37 +0100


Date: Fri, 6 Dec 96 15:52:37 +0100
Message-Id: <9612061452.AA10804@>
From: Martin Maechler <maechler@stat.math.ethz.ch>
To: R Home <R@stat.auckland.ac.nz>
Subject: R-alpha: Command line switch for disabling file completion or full 'readline'?

Usually, people who can will want  readline compiled in,.. ok

Problem: It also has 'file name completion' when I type "<TAB> "
	 (of course, this can be very useful!)
However, if I use  'S-mode' / 'R-mode' for emacs  and I 'send'
	 multi-line statements from an Emacs buffer to the running R,
	currently, there is a <TAB> sent to R (for some reasons), and
	R responds with something like

>>There are 170 possibilities.  Do you really
>>wish to see them all? (y or n)

	and then actually, these are listed, and I get a syntax error of R,
	because the 170 function names don't really fit into my R code...

One easy fix (which may come handy in other situations) would be to provide
a command line switch  "-r" (or anything you find more reasonable)
in order to DISABLE the whole  readline mechanism 
 (we don't need it in Emacs S/R-mode)
or just disable the file name completion part.

----
Opinions, proposals?
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
r-testers mailing list -- For info or help, send "info" or "help",
To [un]subscribe, send "[un]subscribe"
(in the "body", not the subject !)  To: r-testers-request@stat.math.ethz.ch
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-