Embedding R in Windows applications, and executing R remotely
Embedding R in Windows applications, and executing R remotely
Embedding R in Windows applications, and executing R remotely
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
Us<strong>in</strong>g meta-programm<strong>in</strong>g to make BRugs from<br />
BUGS <strong>and</strong> R<br />
Andrew Thomas<br />
W<strong>in</strong>BUGS is a successful Bayesian statistical model<strong>in</strong>g package us<strong>in</strong>g Markov<br />
Cha<strong>in</strong> Monte Carlo methods. W<strong>in</strong>BUGS has been written as a series of small<br />
cooperat<strong>in</strong>g components us<strong>in</strong>g the Oberon programm<strong>in</strong>g language. R is a statistical<br />
<strong>and</strong> data analysis package which can be <strong>in</strong>terfaced to C code us<strong>in</strong>g<br />
dynamic l<strong>in</strong>k libraries. We have developed a dynamic l<strong>in</strong>k library, <strong>in</strong>corporat<strong>in</strong>g<br />
a component loader, that allows R to make use of W<strong>in</strong>BUGS components.<br />
Meta-programm<strong>in</strong>g is used to communicate between the R <strong>and</strong> Oberon software.