I have used the example rinside_sample1.cpp as a basis for a short
routine to transmit data from C++ to R and to recover the results from R
to C++. On the face of it, everything works nicely both in our mainframe
(linux) computer at ÅAU and on the supercomputers at CSC IT Center of
Science (Hel
rinside_sample1 can only be invoked once, i.e. RInside R remains hanging
after returning form the function when invoking it as a function. How
can it be invoked multiple times, some way of freeing the instance of R
is needed? Simple delete R does not work.
On 24.3.2016 21:55, Dirk Eddelbuettel
0 contexts (suppressed: 6 from 6)
/home/aton6/rosterma/research/catsm/super_catsm_R/stoxx_50/valgrind_test>
Since my platform scales with tens of thousands of parallel processors
as I have demonstrated in numerous papers, I want to be sure that no
heap memory faults are included in the progra
PS
I have done the same test with rinside1.
Ralf
On 31.3.2016 22:39, Dirk Eddelbuettel wrote:
PS Also look at Writing R Extension for _plain_ R via valgrind. Then do
cat("hello, world\n"); q("no")
and see what Valgrind reports. That is the second part of the baseline.
Dirk
--
R