[R] Latex error about Schunk environment under Windows NT
Uwe Ligges
ligges at statistik.uni-dortmund.de
Wed Jul 28 11:20:49 CEST 2004
Cornec Matthieu wrote:
> Hi,
>
> I am running the Sweave function on a Rnw file.
> It produces a tex file with
> \begin{Schunk}
> \begin{Sinput}
>
> \end{Sinput}
> \end{Schunk}
>
> and when I try to compile the tex file, I get a
> "Latex error : Environment Schunk undefined"
>
> However, I wrote "\usepackage{Sweave}" at the beginning of my Rnw file
> And the file "Sweave.sty" does exist in my tex files.
>
> I am not experiencing the same trouble with my personal computer at home.
> However I did the same steps. Is it due to Windows NT
> (my home computer runs under XP) and shall I install another latex package?
>
> Anything would help.
> Thanks a lot in advance,
>
> Matthieu Cornec
>
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
It is required to have the style file, of course.
Calling Swaeve() from R should work (but there are some known MikTeX
related problems) anyway.
You can find the style file in folder .../share/texmf
Uwe Ligges
More information about the R-help
mailing list