[R] problem with Sweave and pdflatex

Uwe Ligges ligges at statistik.tu-dortmund.de
Mon May 2 17:51:52 CEST 2011


Have you checked the permissions in the working directory? Is there a 
blank in your path (LaTeX does not like spaces in the path).

Uwe Ligges


On 02.05.2011 14:51, Frank Lehmann wrote:
> Hallo,
>
>
>
> when I plot figures with Sweave, I get the message "pdflatex: Permission
> denied". This problem only occurs while working on local system. When I copy
> the *.rnw-File to my AFS drive, there is no problem at all.
>
>
>
> Here is a small example:
>
>
>
> \documentclass{scrartcl}
>
> \usepackage[OT1]{fontenc}
>
> \usepackage[latin1]{inputenc}
>
> \usepackage[ngerman]{babel}
>
> \usepackage[pdftex]{graphicx}
>
> \usepackage{Sweave}
>
>
>
> \begin{document}
>
>
>
> \setkeys{Gin}{width=\textwidth}
>
> \begin{figure}[htbp]
>
> <<fig=TRUE, echo=TRUE, results=hide, width=14, height=5>>=
>
> x<- 1:10
>
> plot(x)
>
> @
>
> \caption{Eine einfache Grafik}
>
> \end{figure}
>
>
>
> \end{document}
>
>
>
> Does anyone have an idea, how to solve that problem? Im working with Windows
> XP.
>
>
>
> Thanks!
>
>
>
> Frank
>
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list