We are using following code in
.php script for generate
$result1 = exec("R CMD Sweave /var/www/html/r/r_latex_sweave.Rnw"); $result2 = exec("pdflatex /var/www/html/r/r_latex_sweave.tex");
but, we are getting this errors when we are executing
! I can't write on file `r_latex_sweave.log'. Please type another transcript file name: ! Emergency stop ! ==> Fatal error occurred, no output PDF file produced!
Note: We have
.Rnw folder in