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() function

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? It is

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 anyone provide us

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: -

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 a

Re: [R] Calling R functions in Delphi

2006-12-05 Thread Tom Backer Johnsen
cc PMr-help@stat.math.ethz.ch Subject Re: [R] Calling R functions in Delphi

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

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

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