From: Thomas Lumley (tlumley@u.washington.edu)
Date: Fri 19 Apr 2002 - 01:29:53 EST
Message-id: <Pine.A41.4.44.0204180826380.156828-100000@homer03.u.washington.edu>
On Thu, 18 Apr 2002, Josep Perarnau i Codina wrote:
> Hi,
>
> I know that it is possible to use C++ functions under the R environment.
> In any case my intention is the opposite way: use R functions like "glm"
> or "lm" in my C++ code. How should I deal with this problem?
>
There's more than one way, and it depends on your application and your
operating system which is best.
* You could write an R program that calls the C++ program, which then
calls back to R as needed.
* Under Windows you could use the DCOM interface
* Under Unix you could use the embedded R library
-thomas
Thomas Lumley Asst. Professor, Biostatistics
tlumley@u.washington.edu University of Washington, Seattle
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:12 EST