Dear list

I don't know whether this is the right place to post this message. If not,
please redirect me to the proper place.

i have a Perl application on Linux that uses R (V2.9.0) through the Perl-R
interface.
basically, the application performs statistical analysis using R, and
displays the R output (JPG image of the particular analysis) to the user.

in general, this works fine. but i have 2 (very annoying) problems:

1) one of the analyses that R performs is a heatmap. when this heatmap is
relatively small (i.e less than ~ 30 variables for axis X and Y), it works
fine. When i create a larger heatmap (more than ~30 variables), the heatmap
is created and displayed correctly, but the R crushes immediately after the
heatmap image displayed, giving the following error:

"Error: ignoring SIGPIPE signal
Error: use of NULL environment is defunct"

this happens consistently when i create a large image (image size is almost
1 MB) not only for heatmap, but also for other types of analyses. please
note that the analysis is completed correctly and the image is displayed.
its only that the R crushes immediately after that.


2) occasionally, when i create an analysis that correlates between 2
variables, i get the following error from R:

"Error loading lapack routines"

when this happens, the image is created with size 0. the main problem here
is that sometimes it happens and sometimes its not. so i have no idea how to
to debug it.
when i invoke this analysis withinh R (so Perl isnt involved) it is
performed correctly, and the image is created normally.


i'll highly appreciate any assistance as i have no idea how to tackle these
issues.

Thanks!
Yaniv Semel

	[[alternative HTML version deleted]]

