Thanks Uwe I have installed R in a path without spaces ( c:\R\R-2.13.0 ..) and ten installed patchDVI I Then rAn the command provided by Duncan on a file known to be correct from the Sweave examples:
>example(Sweave) ........(lots of output) and then >patchDVI::SweavePDF("Sweave-test-1.tex") "C:\PROGRA~1\MIKTEX~1.9\miktex\bin\texi2dvi.exe" --version "C:\PROGRA~1\MIKTEX~1.9\miktex\bin\texi2dvi.exe" --pdf --tex-option=-synctex=-1 "Sweave-test-1.tex" -I "C:/R/R-2.13.0/share/texmf/tex/latex" -I "C:/R/R-2.13.0/share/texmf/bibtex/bst" 0 patches made. Did you set \SweaveOpts{concordance=TRUE}? Is it the fact that Miktex is still in path containing spaces that is causing this? best regrads Christiaan 2011/6/17 Uwe Ligges <lig...@statistik.tu-dortmund.de> > > > On 17.06.2011 09:24, christiaan pauw wrote: > >> Thanks for the advice. I tried to install the package as instructed. >> Command >> and results below: >> > > The problem is that the Windows binary of that package is really not > available on R-Forge. > > You can install from sources if you ask R to: > > install.packages("patchDVI", > repos="http://R-Forge.R-**project.org<http://R-Forge.R-project.org>", > type="source") > > given you have the Rtools installed. > > > [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org 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.