On 9/4/07, Werner Wernersen <[EMAIL PROTECTED]> wrote: > Hi, > > I am trying to capture the console output of program I > call via system() but that always returns only > character(0). > > For example: > capture.output(system("pdflatex out.tex") ) > > will yield: > character(0) > > and the output still written to the R console. > > Is there a command for intercepting this output? > > Thank you! > Werner >
?sink() -- Gustaf Rydevik, M.Sci. tel: +46(0)703 051 451 address:Essingetorget 40,112 66 Stockholm, SE skype:gustaf_rydevik ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.