Re: [R] sink() and library() calls cause script to stop when called from php

2011-06-17 Thread Yoni Teitelbaum
chmod 777 on the destination folder fixed the sink() issue. Still don't know why library() was causing the script to stop though. - Original Message - From: "Yoni Teitelbaum" To: r-help@r-project.org Sent: Friday, June 17, 2011 5:41:33 AM Subject: [R] sink() and

[R] sink() and library() calls cause script to stop when called from php

2011-06-17 Thread Yoni Teitelbaum
Hello all, I have a php script that makes a call system(PATH_PROJECT_ROOT . '/sh/combineDays.sh ' . $dateString . " " . PATH_PROJECT_ROOT); and within combineDays.sh I run an R script: R --slave --vanilla --args $testDates $BASEDIR $defaultSearchVersion < $BASEDIR"R/combineDays.R"