Re: Advice interfacing to an imaging library

About this list Date view Thread view Subject view Author view Other groups

Subject: Re: Advice interfacing to an imaging library
From: Balasubramanian Narasimhan (naras@stat.stanford.edu)
Date: Tue 03 Aug 1999 - 03:27:21 EST


Message-Id: <19990802102721C.naras@stat.Stanford.EDU>

>>>>> "Richard" == Richard Beare <Richard.Beare@cmis.csiro.au> writes:

Richard> 2) garbage collection. It is now easy to lose track of
Richard> memory, and this is likely to be significant because
Richard> images are usually quite big. There is a delete function
Richard> in the library, so it is possible to dispose of images
Richard> manually, but an automated method would be nice. One
Richard> option is to keep a global list of all pointers returned
Richard> from C function calls, generate a list of all image class
Richard> objects visible in R and compare the two. Any pointers
Richard> not on the image class list can be disposed. Does anyone
Richard> have any other ideas?

I'd look to embed a JVM into R and use all the power of Java for image
processing and garbage collection. I've done it with xlispstat but not
with R.
________________________________________________________________
B. Narasimhan naras@stat.stanford.edu
                             http://www-stat.stanford.edu/~naras

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-devel mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-devel-request@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b25 : Tue 04 Jan 2000 - 14:16:06 EST