From h.wickham at gmail.com  Thu Sep 25 15:47:07 2008
From: h.wickham at gmail.com (hadley wickham)
Date: Thu, 25 Sep 2008 08:47:07 -0500
Subject: [Rd] R --interactive and readline() creates infinite loop
In-Reply-To: <98A53690-6407-4E86-A094-27707C77C744@ucl.ac.uk>
References: <98A53690-6407-4E86-A094-27707C77C744@ucl.ac.uk>
Message-ID: <f8e6ff050809250647l5dd8c437md272ee0f3761e771@mail.gmail.com>

> I assume, given this outcome, that this is not the intended use of
> --interactive, but I still wonder if there is any way to achieve an
> interactive session based on a predefined set of commands without writing a
> completely new front-end (overkill, surely?).

When you say an interactive session, do you mean that the output
should be identical to what would have happened if you had copied and
pasted the code in to an R session?  I'm working on some code that
allows you to do this, based around parse and eval.

Hadley

-- 
http://had.co.nz/



[Rd] R --interactive and readline() creates infinite loop
hadley wickham