[R] Calling R functions in Delphi

2006-12-07 Thread Anna Belova
Dear All, Thank you very much for all the insights! We truly appreciate your thought and your time. --Anna - Anna Belova Abt Associates Inc. 4800 Montgomery Ln, St 600 Bethesda, MD-20814 phone: 301-347-5304 http://www.abtassociates.com/environment --

Re: [R] Calling R functions in Delphi

2006-12-06 Thread Tom Backer Johnsen
Earl F. Glynn wrote: > Thanks for the great example, Tom. > > "Tom Backer Johnsen" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] >> Anna Belova wrote: > >>> We would like to call quantile() function from the R-package STATS in a >>> Delphi program. If this is possible, could anyo

Re: [R] Calling R functions in Delphi

2006-12-06 Thread Earl F. Glynn
Thanks for the great example, Tom. "Tom Backer Johnsen" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Anna Belova wrote: >> We would like to call quantile() function from the R-package STATS in a >> Delphi program. If this is possible, could anyone provide us with an >> example?

Re: [R] Calling R functions in Delphi

2006-12-06 Thread Erich Neuwirth
R(D)COM available from CRAN (section Other) gives you R as a COM server. If Delphi can act as a COM client (which I think is true), you can access R directly from within your program without the need to write files. > Anna Belova wrote: >> Hello All, >> >> We would like to call quantile() functi

Re: [R] Calling R functions in Delphi

2006-12-05 Thread Tom Backer Johnsen
<[EMAIL PROTECTED]> > 12/05/2006 12:36 cc > PMr-help@stat.math.ethz.ch >

Re: [R] Calling R functions in Delphi

2006-12-05 Thread Tom Backer Johnsen
Anna Belova wrote: > Hello All, > > We would like to call quantile() function from the R-package STATS in a > Delphi program. If this is possible, could anyone provide us with an > example? It is possible, and in principle simple. The essentials: (1) Write a file containing the something like

Re: [R] Calling R functions in Delphi

2006-12-05 Thread Hans-Peter
2006/12/5, Rainer M Krug <[EMAIL PROTECTED]>: > There was a translation of the header files from C to Delphi, so that > you could used R directly without using DCom - Hans-Peter Suter > translated / made them. Thanks for mentioning. You can download these files any time from: - http://treetron.g

Re: [R] Calling R functions in Delphi

2006-12-04 Thread Rainer M Krug
Anna Belova wrote: > Hello All, > > We would like to call quantile() function from the R-package STATS in a > Delphi program. If this is possible, could anyone provide us with an > example? Hi Anna There was a translation of the header files from C to Delphi, so that you could used R directly w

Re: [R] Calling R functions in Delphi

2006-12-04 Thread Francisco Zagmutt
If your only interest is the quantile function, you may consider implementing your own version in Pascal. Since R is open source you can look at the source code here: https://svn.r-project.org/R/trunk/src/library/stats/R/quantile.R And use the code as a guideline (I recommend reading the GNU l

Re: [R] Calling R functions in Delphi

2006-12-04 Thread Duncan Murdoch
On 12/4/2006 2:27 PM, Anna Belova wrote: > Hello All, > > We would like to call quantile() function from the R-package STATS in a > Delphi program. If this is possible, could anyone provide us with an > example? You probably want to be talking to the Rcom-l list, see

[R] Calling R functions in Delphi

2006-12-04 Thread Anna Belova
Hello All, We would like to call quantile() function from the R-package STATS in a Delphi program. If this is possible, could anyone provide us with an example? Thanks in advance. --Anna - Anna Belova Abt Associates Inc. 4800 Montgomery Ln, St 600 Bethesd