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() function
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?
It is
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 anyone provide us
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:
-
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 a
cc
PMr-help@stat.math.ethz.ch
Subject
Re: [R] Calling R functions in
Delphi
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
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
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