[Rcpp-devel] Incomplete Heap memory freeing under R

2016-03-31 Thread rosterma
I have been working on connections between R and my computational platform on Linux. I have designed a bridge function in C++ using RInside and the connection seems to work as expected now. However, I have a question regarding the heap memory usage. First, take a look at the Valgrind report for

Re: [Rcpp-devel] Incomplete Heap memory freeing under R

2016-03-31 Thread Dirk Eddelbuettel
On 31 March 2016 at 22:15, roste...@abo.fi wrote: | I have been working on connections between R and my computational | platform on Linux. I have designed a bridge function in C++ using | RInside and the connection seems to work as expected now. However, I | have a question regarding the heap m

Re: [Rcpp-devel] Overriding 'ARMA_64BIT_WORD 1' in RcppArmadillo

2016-03-31 Thread Dirk Eddelbuettel
On 29 March 2016 at 15:55, George Vega Yon wrote: | Hi there, | | A couple of days ago I included this comment on a Stackoverflow question about | "too large" matrices in RcppArmadillo | I wonder if we can use this in a package. After trying to compile the package | with and without PKG_CXXFLAGS=

Re: [Rcpp-devel] Incomplete Heap memory freeing under R

2016-03-31 Thread Dirk Eddelbuettel
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 -- http://dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org __

[Rcpp-devel] Calling ggsave or pdf from RInside

2016-03-31 Thread Michael Morrison
Hello, i'm new to RInside and Rcpp. I trying to run a small test to output a a pdf using a series of calls to the RInside library. Whenever I call ggsave (or pdf) via these calls i get the following error message: *Error in pdf(file = "C:/path/to/file/file.pdf", height = 3.5, :* * failed to init

Re: [Rcpp-devel] Incomplete Heap memory freeing under R

2016-03-31 Thread rosterma
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