[R] How do I make R listen to a Unix domain socket?
tlumley at u.washington.edu
Tue Aug 5 19:46:34 CEST 2003
On Tue, 5 Aug 2003, Johannes Ranke wrote:
> Respected r-help readers,
> I am a bit uncomfortable because my favourite text editor vim does not
> speak statistics. So I obtained a perl-script made to get vim to
> interact with a lisp interpreter and had it set up so vim sends text to
> a socket and R executes - but there are some irreproducible errors and I
> don't understand the perl-script.
> Could someone show me an alternative method to start R in a way that it
> listens to a unix domain socket? I know about the R function
> socketConnection() but this creates tcp sockets which I don't know how
> to send text to.
I'm not sure that this is possible. The editor that does speak statistics doesn't do it this
way: it takes over stdin and stdout instead.
More information about the R-help