[ESS] SOLVED Weirdness after system("phpscript")

Sven Hartenstein lists at svenhartenstein.de
Mon Aug 2 18:15:16 CEST 2010


Dear Rodney and all,

> > I experience problems with ESS after running a php script by use
> > of the system() function. I can't find this problem with any
> > non-php script.

I was able to fix the problem by sending stdout and stderr to
/dev/null, like so:

x <- system(paste("php -n -f /some/script.php --", shQuote(y), "&> /dev/null"), intern=TRUE)


* Rodney wrote:
> Try issuing system("stty") before and after the rogue command.

This did not fix it. Thank you for your answer anyway!


Sven



More information about the ESS-help mailing list