[Rd] Terminating and restarting an embedded R instance possible?

2012-08-30 Thread Christian Sigg
I am developing R functions that interface with C++ code from the OpenCV library. During development and unit testing, I embed an R instance to prepare the environment in which the function encapsulating OpenCV code is called. Running the unit testing suite results in starting (and later

Re: [Rd] Terminating and restarting an embedded R instance possible?

2012-08-30 Thread Simon Urbanek
On Aug 29, 2012, at 10:08 AM, Christian Sigg christ...@sigg-iten.ch wrote: I am developing R functions that interface with C++ code from the OpenCV library. During development and unit testing, I embed an R instance to prepare the environment in which the function encapsulating OpenCV code

[Rd] stack overflow? was Re: [R] segfault in gplots::heatmap.2

2012-08-30 Thread Martin Morgan
I think this belongs on R-devel and I'm forwarding there. Here's a more refined example library(XLConnect) load(file=ddr.Rda) oV - function(x) { if (is.leaf(x)) { return(x) } for (j in seq_along(x)) { b - oV(x[[j]]) } x } res -

[Rd] tcltk capability

2012-08-30 Thread Gabor Grothendieck
There are quite a few packages that make use of tcltk and although - most R distributions have tcltk capability - its possible to query this via capabilities()[[tcltk]] - attempting to build a package that needs it on such an R distribution will give a message letting one know users still seem

Re: [Rd] stack overflow? was Re: [R] segfault in gplots::heatmap.2

2012-08-30 Thread Simon Urbanek
On Aug 30, 2012, at 3:39 PM, Martin Morgan mtmor...@fhcrc.org wrote: I think this belongs on R-devel and I'm forwarding there. Here's a more refined example library(XLConnect) load(file=ddr.Rda) oV - function(x) { if (is.leaf(x)) { return(x) } for (j in