[R] DCom / StatConnector / Windows-Cygnus-Gcc ?

Oliver Lange oliver at oekologie.biologie.uni-mainz.de
Thu Oct 5 17:26:15 CEST 2000

Hello List !

I want to use R as statistical & Graphical Tool for biological 
simulation programs. So, I want to combine my programs (written 
under cygnus-gcc on NT4.0) with R under Windows. 

The data, produced by my program will be sent to R. There it should 
be statistically "transformed" and graphically displayed. The 
simulation program may wait until R has calculated and displayed 
the data. (Well, if both may work independently, "online" display of 
the data this would be nice as well, but there is no need to.)

Following possibilities came to my attention by the email-Archives (& 
thanks to Yves Gauvreau)
1) embedding the C-Program into R ( .C - Call)
2) using the DCom/StatConnector
3) use the R-Source code and compile it into my program

About 1): I want to keep the simulation program seperated from the 
(graphical) output. So, anybody who wants to check (or use) the 
proghram without graphic can do so easily. So, it would be easier, 
not to change the program into this concept. I would appreciate an 
other solution.

About 2) I have problems in finding documentation about 
2a: Where can I get a Docu about it ? (Like interface specifications 
2b Has anybody a (simple) example, how he used it ? Best from 
within a C/C++ Program ? 
2c It is possible, to link Windows-DLLs to a Cygwin-Gcc program, 
thus making it (possibly ?) DCom aware. Has anybody done this 
before ?

3) Compiling the source code will be tedious :) I fear. Especially I 
will loose all possibilities to use the different packages in future 
programms. Has anybody tried this ?

I tend to the opinion, that 1) would be the easiest (but not to the 
general solucion for my problems) and 2) the nicest possibility, but 
not too easy. But, I'd like to know more about this.



PS.: please note the new telefon numbers of the University of Mainz

Oliver Lange
Tel.  0049-(0)6131-3924424
FAX.  0049-(0)6131-3923731
email: lango000 at mail.uni-mainz.de

Johannes-Gutenberg-Universität Mainz
Zoologisches Institut
Abteilung Oekologie
55099 Mainz

visit our homepage at
or the Complex System Research Association at
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list