Hello Thomas, I am writting to you because I have some questions about R-(D)COM. The first one is whether it can compiled using the MINGW C compiler, that is recomended by B. Ripley to compile R under Windows. The other questions are: - How can I open/close connections directly from C/C++? - Do you know about a free Visual Basic compiler? The final purpose of using R-(D)COM is to create a link between ArcInfo and R, in the same way 'S-Plus for ArcView' does. Thank you in advice. Regards, Virgilio -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Tue, 3 Jul 2001 virgil at matheron.estadi.uv.es wrote:> Hello Thomas, > > I am writting to you because I have some questions about R-(D)COM. The > first one is whether it can compiled using the MINGW C compiler, that > is recomended by B. Ripley to compile R under Windows.Um. rproxy.dll, the R side, *is* compiled under mingw. It's not clear to me why one would want to compile the StatConnector under mingw, but Thomas said he thought it may be possible. One issue is the quality of mingw headers. As Thomas (and I) have VC++6.0, it has not been an issue.> The other questions are: > > - How can I open/close connections directly from C/C++?Yes, because R itself does from C code. It's not set up to be easy, though, and the low-level interface in connections.c is mainly not exposed (static routines). But you can call do_url, do_open, do_close and so on from your own C code.> - Do you know about a free Visual Basic compiler?No. There are learning editions free with various books, but they have limited compilation facilities. The Learning Edition sold here is definitely able to work with R-(D)COM, as my wife uses that one. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> Do you know about a free Visual Basic compiler?No. But VBScript is available for free (if you have MS Internet Explorer 4 or above, it is already installed on your system), it allow to "script" DCom objects from the console, or from a web page. If you have MS Office, you can also use VBA (Visual Basic for Application) that allow to interact with R-DCom (see R-Excel in the CRAN site for an example). Best regards, Philippe Grosjean ...........]<(({?<...............<?}))><............................... ) ) ) ) ) __ __ ( ( ( ( ( |__) | _ ) ) ) ) ) | hilippe |__)rosjean ( ( ( ( ( Marine Biol. Lab., ULB, Belgium ) ) ) ) ) __ ( ( ( ( ( |\ /| |__) ) ) ) ) ) | \/ |ariculture & |__)iostatistics ( ( ( ( ( ) ) ) ) ) e-mail: phgrosje at ulb.ac.be or phgrosjean at sciviews.org ( ( ( ( ( SciViews project coordinator (http://www.sciviews.org) ) ) ) ) ) tel: 00-32-2-650.29.70 (lab), 00-32-2-673.31.33 (home) ( ( ( ( ( ) ) ) ) ) "I'm 100% confident that p is between 0 and 1" ( ( ( ( ( L. Gonick & W. Smith (1993) ) ) ) ) ) ...................................................................... -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Someone wrote:> >> - Do you know about a free Visual Basic compiler? > >No. There are learning editions free with various books, but they >have limited compilation facilities. The Learning Edition sold here >is definitely able to work with R-(D)COM, as my wife uses that one.There was a version called Visual Basic 5 Control Creation Edition which was free. You might be able to get it from the M$ website. I remember that is was on a lot of cover CDs from the glossy PC mags. You might be able to find a copy about or go through back issue departments. I do not have a copy here but I think it could create an .EXE but it needed the software to be installed to run the .EXE not just the runtime library. I might be wrong. Mark -- Mark Myatt -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._