[R] C code

Agustin Lobo alobo at ija.csic.es
Wed Nov 7 13:28:54 CET 2001


Holger,

Check in the r-help archives 
an excellent example (with comments) provided
by Duncan Temple Lang <duncan at research.bell-labs.com>
on Fri, 19 Oct 2001 10:11:07 -0400

(I can forward it to you if you cannot find the
message)

Agus

Dr. Agustin Lobo
Instituto de Ciencias de la Tierra (CSIC)
Lluis Sole Sabaris s/n
08028 Barcelona SPAIN
tel 34 93409 5410
fax 34 93411 0012
alobo at ija.csic.es


On Wed, 7 Nov 2001, Holger Perlt wrote:

> Hello,
> 
> 
> I am new  as R user. After reading the manual I did not understand one
> thing:
> 
> Is it possible to write a stand-alone C-program (e.g. with its own GUI
> etc.) using
> R functions inside? (via the R.dll in the Windows case)
> 
> I understand that it is possible to write C-code to be used inside R,
> which
> 1. do not use R-functions itself (called with .C)
> 2. do use R-structures inside (called with .Call)
> 
> Is this right?
> Are there very simple introductionary examples for my case - if this is
> possible
> at all?
> 
> Best regards,
> Holger
> 
> -- 
> PD Dr. habil. Holger Perlt
> Diplomphysiker/Geschäftsführer
> Reinforcement Control GmbH
> Karl-Heine-Str. 99
> 04229 Leipzig
> Germany
> Phone: 	++49 (0)341 9410370
> Fax:	++49 (0)341 9410372
> http://www.reinforcement.de
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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 at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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 at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list