Happy New Year !!!
Not having much background in PERL and "R", I invested lot of time
trying to solve a problem that I have described in this e-mail.
I am working on a AIX machine with R Version 1.9.1 on AIX 5.2 ML-3.
The perl.rte fileset is at 5.8.0.0. The following line is a part of a cgi
script:
open(T, "| /usr/local/bin/R --silent --no-save < /var/tmp/lll.input
>/var/tmp/messages.out");
The contents of file /var/tmp/lll.input are as follows:
tts.console(file="/var/tmp/wi.lll.dat",pfile="/var/tmp/wi.lll.ps")
When the cgi script is executed /var/tmp/wi.lll.ps is NOT generated.
However when I invoke execute :
/usr/local/bin/R --no-save --min-vsize=20M --min-nsize=1000k <
/var/tmp/lll.input
from the shell prompt being logged in as root user, the command executes
correctly and also generates the post-script file /var/tmp/wi.lll.ps
Are there any know issues with R working through UNIX pipes?
Any help/hints offered is gratefully acknowledged.
Regards,
Sridhar
******************************************
IBM BCS - Public Sector
Voice (303) 924 - 0413
Email murthys@us.ibm.com
******************************************
[[alternative HTML version deleted]]