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

Gabor Grothendieck ggrothendieck at gmail.com
Thu Oct 20 21:09:36 CEST 2005


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.



More information about the R-devel mailing list