Hello all,
I'm stuck with a specific question concerning the communication between Perl and R, via Perl module Statistics::R. I want to create an interactive 3D scatter plot using R module rgl. When I manually did it in R console, it worked perfectly. I could mouse-rotate the graph in a window. However, when I tried to automate the process with Perl, the graph was displayed, but was dead. I couldn't rotate. My system is Ubuntu 12.04. Perl and R are up-to-date. I don't know where the problem is, but just guess it's a window rendering problem.
What I did in Perl is (simply):
$R->send("library('rgl')");
$R->send("plot3d(x, y, z, xlab='x', ylab='y', zlab='z', title='3D scatter plot')");
Can anyone point out what is wrong? Thanks!
Relevance of this question to a bioinformatics research problem please?
better ask this is stack overflow