Skip to content
Back to formatted view

Raw Message

Message-ID: <43564A3E.90402@sun.ac.za>
Date: 2005-10-19T13:29:34Z
From: Rainer M Krug
Subject: Socks under R

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