On 10/20/05, Walter Johnston <[EMAIL PROTECTED]> 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. ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel