I am working on embedding R into some visualization research programs. Can any point me to a collection of embedded and standalone R/C/C++ examples? The documentation is to terse for me to figure out how to develop this and I am looking for some simple examples to study. Thanks and best regards, EBo --
You might also want to look at existing visualisation applications that connect with R: * http://ggobi.org * http://rosuda.org/mondrian * http://rosuda.org/software/Gauguin/gauguin.html to name a few. Hadley On Tue, Aug 26, 2008 at 10:31 AM, EBo <ebo at sandien.com> wrote:> > I am working on embedding R into some visualization research programs. Can > any point me to a collection of embedded and standalone R/C/C++ examples? The > documentation is to terse for me to figure out how to develop this and I am > looking for some simple examples to study. > > Thanks and best regards, > > EBo -- > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- http://had.co.nz/
I am able to call R functions like min, mean, and mad from from a C/C++ embedded application, but when I try to get the standard deviation or variance (sd, var) R segfaults. Can someone suggest how to resolve this? Thanks and best regards, EBo --
EBo
2008-Aug-27 19:42 UTC
[R] solution found [was: accessing sd and var functions in embedded app]
I found a solution, but it will take me awhile to articulate why the example in the manual <http://cran.r-project.org/doc/manuals/R-exts.html> generated a segfault. EBo -- EBo <ebo at sandien.com> said:> I am able to call R functions like min, mean, and mad from from a C/C++ > embedded application, but when I try to get the standard deviation or variance > (sd, var) R segfaults. Can someone suggest how to resolve this? > > Thanks and best regards, > > EBo --