Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

we are executing following code from .php file.

$result1 = shell_exec("R CMD Sweave /var/www/html/r/r_latex_sweave.Rnw");

$result2 = shell_exec("pdflatex /var/www/html/r/r_latex_sweave.tex");

But, we are getting this errors :

$result1 = shell_exec("R CMD Sweave /var/www/html/r/r_latex_sweave.Rnw"); [11:53:55] $result2 = shell_exec("pdflatex /var/www/html/r/r_latex_sweave.tex");

can you please help us on this?


share|improve this question

marked as duplicate by Claudio Fiandrino, Kurt, Charles Stewart, Martin Schröder, cmhughes Jul 30 '13 at 9:04

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

possible duplicate of tex.stackexchange.com/q/125995/19326 also where is the errormessage, that does not look like an error message to me –  ted Jul 30 '13 at 7:09
Welcome to TeX-SX! Have a look at our starter page for a quick intro if you wish to familiarize yourself with our format. –  Claudio Fiandrino Jul 30 '13 at 7:14

Browse other questions tagged or ask your own question.