Re: [R-pkg-devel] memory exhausted (limit reached?) and R3.6.0 memory leak in data.table

2018-05-15 Thread luke-tierney
Until there is a new data.table version available that fixes the race condition you can use setDTthreads(1) to turn off use of multiple threads. Best, luke On Tue, 15 May 2018, Bailey, Paul wrote: Hi Luke, Thanks for the explanation of the situation. I hope I'm wrong, but I believe that set

Re: [R-pkg-devel] memory exhausted (limit reached?) and R3.6.0 memory leak in data.table

2018-05-15 Thread Bailey, Paul
Hi Luke, Thanks for the explanation of the situation. I hope I'm wrong, but I believe that setting OMP_NUM_THREADS=1 is not something I can do inside my package, or does this help me for CRAN submission? You mention a user interrupt to reset the gc, but I can't do that either, right? I'm at a

Re: [R-pkg-devel] plot graph (png, svg, eps, pdf, vdx, ok tikz) to device

2018-05-15 Thread Rainer M. Krug
Von meinem iPhone gesendet > Am 15.05.2018 um 13:54 schrieb Johannes Ranke : > > Hi, > > have a look at the grImport package. It can import eps, so at least you get a > vector based graph. Sounds interesting- I’ll check it out tomorrow and report back if it works well. > > Alternatively

Re: [R-pkg-devel] plot graph (png, svg, eps, pdf, vdx, ok tikz) to device

2018-05-15 Thread Rainer M Krug
Hi Stefan, > On 15 May 2018, at 13:31, Stefan McKinnon Høj-Edwards wrote: > > Hi Rainer, > > You are currently using a java library to create the plot. Your package is > basically a wrapper around the java file. Correct - that why I am limited to using the specified output formats. > The onl

Re: [R-pkg-devel] plot graph (png, svg, eps, pdf, vdx, ok tikz) to device

2018-05-15 Thread Stefan McKinnon Høj-Edwards
Hi Rainer, You are currently using a java library to create the plot. Your package is basically a wrapper around the java file. The only way to make it more "R-like" would be to re-implement the rendering in R (or Rcpp or using the grid package). To get a vector based image, your code suggests yo

[R-pkg-devel] plot graph (png, svg, eps, pdf, vdx, ok tikz) to device

2018-05-15 Thread Rainer Krug
Hi I asked the question at stack exchange yesterday ( https://stackoverflow.com/q/50325139/632423 ) and did not get a response so far, so I repost it here: I have the following situation: I use an external command (plantuml - http://plantuml.com/ ) to create a graph. This is done via R b