From p.dalgaard at biostat.ku.dk  Thu Sep 25 17:38:37 2008
From: p.dalgaard at biostat.ku.dk (Peter Dalgaard)
Date: Thu, 25 Sep 2008 17:38:37 +0200
Subject: [Rd] R --interactive and readline() creates infinite loop
In-Reply-To: <48DBA1A8.2030602@r-project.org>
References: <98A53690-6407-4E86-A094-27707C77C744@ucl.ac.uk>
	<48DB8E97.9000609@r-project.org> <48DB93F7.8000509@biostat.ku.dk>
	<48DBA1A8.2030602@r-project.org>
Message-ID: <48DBB07D.5070302@biostat.ku.dk>

John Chambers wrote:
> My application, at least, wanted to show (my class) individual 
> commands from the file and then optionally insert some typed commands 
> before going on to the next part of the source file. As far as I can 
> see, the piped shell command approach will have to treat the whole 
> file at one time.
Hmmno... You can "cat -" multiple times if you want, terminating each 
with ctrl-D. That's not to say that it is the optimal solution though. 
Echoing the non-keyboard input seems a bit tricky, for instance.

-- 
   O__  ---- Peter Dalgaard             ?ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark      Ph:  (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)              FAX: (+45) 35327907



[Rd] R --interactive and readline() creates infinite loop
Peter Dalgaard