From ggrothendieck at gmail.com  Thu Oct 20 21:09:36 2005
From: ggrothendieck at gmail.com (Gabor Grothendieck)
Date: Thu, 20 Oct 2005 15:09:36 -0400
Subject: [Rd] [R-gui] R GUI considerations (was: R, Wine,
	and multi-threadedness)
In-Reply-To: <200510201621.MAA07599@www20.ureach.com>
References: <200510201621.MAA07599@www20.ureach.com>
Message-ID: <971536df0510201209r16ea3e01v390eecaf4d19aaee@mail.gmail.com>

On 10/20/05, Walter Johnston <walterj at ureach.com> wrote:
>
> Is there a "simple" way (e.g. some socket based mechanism) to
> feed commands into R and retrieve the results of those commands?
>  This would require that I program the sequence of commands I
> want to use (or a means to generate them) and then be able parse
> the resulting structure - I understand. But it would also allow
> separation of the computation, the "statistical reasoning", and
> the UI into (potentially) separate units which would not even
> need to be on the same machine to inter-operate.  If there is a
> reasonable way to do this, please tell me.

See ?make.socket for R's socket routines.  Also in addition to the
socket routines in R itself, the tcltk package supports sockets
and those can be used even if you don't intend to use the tk user
interface.  The rpad package and the svSocket package both make
use of that.



[Rd] [R-gui] R GUI considerations (was: R, Wine, and multi-threadedness)
Gabor Grothendieck