Dear All: Now I am writing program in delphi , found it is very convenience to do anova, T-test, F-Test, etc in R , how to call R in delphi? Thsnks. Best Regards YiYao Jiang Product Division/ product Testing Department Semiconductor Manufacturing International Corporation ZhangJiang Road, PuDong New Area, Shanghai ZIP: 201203 Tel:86-21-5080-2000 Ext. 15173
Try searching this list for delphi. This was the first post I found. You may find it helpful. http://finzi.psych.upenn.edu/R/Rhelp02a/archive/19154.html Tom> -----Original Message----- > From: YiYao_Jiang [mailto:YiYao_Jiang at smics.com] > Sent: Wednesday, 19 January 2005 10:12 AM > To: r-help at stat.math.ethz.ch > Cc: Jack_Kang; Ivy_Li > Subject: [R] how to call R in delphi? > > > Dear All: > > Now I am writing program in delphi , found it is very > convenience to do anova, T-test, F-Test, etc in R , how to > call R in delphi? Thsnks. > > > > > Best Regards > > YiYao Jiang > > Product Division/ product Testing Department > Semiconductor Manufacturing International Corporation > ZhangJiang Road, PuDong New Area, Shanghai ZIP: 201203 > Tel:86-21-5080-2000 Ext. 15173 > > ______________________________________________ > 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 >
On Wed, 19 Jan 2005 10:12:07 +0800, "YiYao_Jiang" <YiYao_Jiang at smics.com> wrote :>Dear All: > >Now I am writing program in delphi , found it is very convenience to do anova, T-test, F-Test, etc in R , how to call R in delphi? Thsnks.Tom referred you to a post about the COM interface. You can also do some of what you want with direct calls to R.dll. See the "R API: entry points for C code" section of the Writing R Extensions manual. If you're unfamiliar with calling C entries from Delphi, my web page <http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/> might help, though it is aimed at writing DLLs, rather than using R.dll. But that's another option: let R be in charge, and just add some functions in a DLL written in Delphi. Duncan Murdoch
To call R from Delphi, you may try http://www.menne-biomed.de/download/RDComDelphi.zip. Example program showing use of R from Delphi. Connecting to R via COM using Neuwirth's StatConnectorSrvLib Uses RCom.pas, which is a simple Delphi wrapper for passing commands, integer and double arrays. See http://cran.r-project.org/contrib/extra/dcom By: dieter.menne at menne-biomed.de
You can also use SOAP to communicate with R via RSOAP (http://rsoap.sf.net). -G> -----Original Message----- > From: r-help-bounces at stat.math.ethz.ch > [mailto:r-help-bounces at stat.math.ethz.ch]On Behalf Of Duncan Murdoch > Sent: Wednesday, January 19, 2005 4:10 AM > To: YiYao_Jiang > Cc: r-help at stat.math.ethz.ch; Jack_Kang; Ivy_Li > Subject: Re: [R] how to call R in delphi? > > > On Wed, 19 Jan 2005 10:12:07 +0800, "YiYao_Jiang" > <YiYao_Jiang at smics.com> wrote : > > >Dear All: > > > >Now I am writing program in delphi , found it is very > convenience to do anova, T-test, F-Test, etc in R , how to > call R in delphi? Thsnks. > > Tom referred you to a post about the COM interface. > > You can also do some of what you want with direct calls to R.dll. See > the "R API: entry points for C code" section of the Writing R > Extensions manual. If you're unfamiliar with calling C entries from > Delphi, my web page > <http://www.stats.uwo.ca/faculty/murdoch/software/compilingDLLs/> > might help, though it is aimed at writing DLLs, rather than using > R.dll. > > But that's another option: let R be in charge, and just add some > functions in a DLL written in Delphi. > > Duncan Murdoch > > ______________________________________________ > 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 LEGAL NOTICE\ Unless expressly stated otherwise, this messag...{{dropped}}