RGLab / QUALIFIER

Qualitiy control for gated flow cytometry data
6 stars 1 forks source link

XML::replaceNodes crashes R #43

Closed mikejiang closed 10 years ago

mikejiang commented 10 years ago

In postProcessSVG routine, XML::replaceNodes is used to manipulate the svg QA plot to achieve highlighting effect on mouse-over. It used to work fine but is causing memory error with the latest version of R.

mikejiang commented 10 years ago

Updating XML R package and libxml2 C library doesn't help.

mikejiang commented 10 years ago

looks like using R explicit objects other than internal C-level document pointer will avoid this kind of memory issue

    doc <- xmlTreeParse(sfile, useInternalNodes = FALSE)