I belive R, which is platform independent, does not work with any platform specific software or languages, like Visual Basic. Can you write your code by passing information through input/output files (CSV & HML might be good formats)? Jarek Tuszynski SAIC -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] Sent: Tuesday, September 13, 2005 7:28 AM To: r-help at stat.math.ethz.ch Subject: [R] VB and R Dear Listers, Is there any good paper about how to use R together with VB? Thank you so much! -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Cincinnati Children Hospital Medical Center ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
VB and R
3 messages · Tuszynski, Jaroslaw W., Roger Bivand, Duncan Murdoch
On Tue, 13 Sep 2005, Tuszynski, Jaroslaw W. wrote:
I belive R, which is platform independent, does not work with any platform specific software or languages, like Visual Basic. Can you write your code by passing information through input/output files (CSV & HML might be good formats)?
R can be used in a (D)COM context - see: http://cran.r-project.org/contrib/extra/dcom and can be embedded in other software systems too. To quote from: http://cran.r-project.org/contrib/extra/dcom/RSrv135.html "R (D)COM server provides a mechanism for standard applications like Microsoft Excel or custom applications written in any language serving as a COM client (e.g. Visual Basic, Perl) to use the R as a powerful computational engine and renderer for graphics and text output." Because there are so many possibilities, the "good paper" is in the examples, there isn't (as far as I know) a complete manual.
Jarek Tuszynski SAIC -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] Sent: Tuesday, September 13, 2005 7:28 AM To: r-help at stat.math.ethz.ch Subject: [R] VB and R Dear Listers, Is there any good paper about how to use R together with VB? Thank you so much! -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Cincinnati Children Hospital Medical Center [[alternative HTML version deleted]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Roger Bivand Economic Geography Section, Department of Economics, Norwegian School of Economics and Business Administration, Helleveien 30, N-5045 Bergen, Norway. voice: +47 55 95 93 55; fax +47 55 95 95 43 e-mail: Roger.Bivand at nhh.no
On 9/13/2005 7:38 AM, Tuszynski, Jaroslaw W. wrote:
I belive R, which is platform independent, does not work with any platform specific software or languages, like Visual Basic.
That's not true at all. R works with many platform specific packages. I think Roger Bivand's answer covers the easiest way (COM) to link to VB, but you can also use shared libraries (DLL's in Windows) created in just about any package through the dyn.load() facility. Duncan Murdoch > Can you write your code
by passing information through input/output files (CSV & HML might be good formats)? Jarek Tuszynski SAIC -----Original Message----- From: r-help-bounces at stat.math.ethz.ch [mailto:r-help-bounces at stat.math.ethz.ch] Sent: Tuesday, September 13, 2005 7:28 AM To: r-help at stat.math.ethz.ch Subject: [R] VB and R Dear Listers, Is there any good paper about how to use R together with VB? Thank you so much! -- WenSui Liu (http://statcompute.blogspot.com) Senior Decision Support Analyst Cincinnati Children Hospital Medical Center [[alternative HTML version deleted]]
______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html ______________________________________________ R-help at stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html