[R] problem with Sweave and pdflatex

From: Frank Lehmann <frank.lehmann62_at_freenet.de>
Date: Mon, 02 May 2011 14:51:50 +0200


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. Received on Thu 05 May 2011 - 06:25:06 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 05 May 2011 - 07:00:05 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive