Re: [R] problem with Sweave and pdflatex

From: Uwe Ligges <ligges_at_statistik.tu-dortmund.de>
Date: Tue, 03 May 2011 12:55:19 +0200

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.
>



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:10 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:06 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