Rainer M. Krug
2005-Oct-17 11:13 UTC
[Rd] Control R from another program (written in Delphi)
Hi I want to analysis data (generatet in a simulation written in Delphi) in R and the user interface will also written in Delpni -0 i.e. I want to control R from another program which is written in Delphi. At the moment I am using the (D)COM interface but as I would like to run R on a Linux Cluster, thits is not an option any more. What is the easiest way of copntrolluing R over the network? I thought about sockets, but I am a little bit stuck. Any tips welcome, 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
Simon Urbanek
2005-Oct-17 14:43 UTC
[Rd] Control R from another program (written in Delphi)
Rainer, On Oct 17, 2005, at 1:13 PM, Rainer M. Krug wrote:> At the moment I am using the (D)COM interface but as I would like > to run R on a Linux Cluster, thits is not an option any more. > What is the easiest way of copntrolluing R over the network? I > thought about sockets, but I am a little bit stuck.We have been using snow+Rpvm very successfully. There are tons of other approaches and tools as well (mosix, rmpi, snowFT, ...). I would start with snow, because it is very flexible and even offers socket-only solution when necessary. Cheers, Simon