In the new version of statet4.0, I would like to find a way to configure sweave to run with both knitr and pdflatex.
In external tool configuration > sweave Document processing there an example of using tools::texi2dvi(file= "${resource_loc}", pdf= TRUE)
how should I configure to use pdflatex ?