From RKrug at sun.ac.za  Wed Oct 19 15:29:34 2005
From: RKrug at sun.ac.za (Rainer M. Krug)
Date: Wed, 19 Oct 2005 15:29:34 +0200
Subject: [Rd] Socks under R
Message-ID: <43564A3E.90402@sun.ac.za>

Hi

when I use

con1 <- socketConnection(...)

in R and want to send text from another application written in Delphi to 
R, do I just have to send the text or do I have to implement more 
control characters and so on?
Is

con1 <- socketConnection(port=6011, server=TRUE)
writeLines("plot(rnorm(100))", con1)

just sending the text in "plot(rnorm(100))" to the socket or is it doing 
more (R specific protocoll for socks comminication)?

Thanks,

Rainer


-- 
NEW TELEPHONE NUMBER
Tel:		+27 - (0)72 808 2975 (w)

Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Department of Conservation Ecology
University of Stellenbosch
Matieland 7602
South Africa

Tel:		+27 - (0)72 808 2975 (w)
Fax:		+27 - (0)21 808 3304
Cell:		+27 - (0)83 9479 042

email:	RKrug at sun.ac.za
       	Rainer at krugs.de



[Rd] Socks under R
Rainer M. Krug