problem with Sweave and pdflatex
At least it works for most of us.... Uwe Ligges
On 03.05.2011 10:26, Frank Lehmann wrote:
I set the path with no spaces and run as administrator, but the problem is not fixed. I'm not quite shure, but I can't remember the problem bevore R version 2.13. Could it be, that the new R version causes that problem? Frank Lehmann -----Urspr?ngliche Nachricht----- Von: Uwe Ligges [mailto:ligges at statistik.tu-dortmund.de] Gesendet: Montag, 2. Mai 2011 17:52 An: Frank Lehmann Cc: r-help at r-project.org Betreff: Re: [R] problem with Sweave and pdflatex 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.