Error: "environment schunk undefined"
Publicado por Caltrem (1 intervención) el 24/09/2010 11:17:10
Hola,
estoy intentando integrar el software estadístico R con Latex a través de la función Sweave. Estoy utilizando MikTex 2.8 y cuando abro el archivo *.tex e intento compilar el siguiente código:
(estoy haciendo pruebas ahora)
\begin{Schunk}
\begin{Sinput}
> data(PlantGrowth)
> summary(PlantGrowth)
\end{Sinput}
\begin{Soutput}
weight group
Min. :3.590 ctrl:10
1st Qu.:4.550 trt1:10
Median :5.155 trt2:10
Mean :5.073
3rd Qu.:5.530
Max. :6.310
\end{Soutput}
\end{Schunk}
me aparece el siguiente error:
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
("C:/Documents and Settings/HP_Propietario/Mis documentos/rivera.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
! LaTeX Error: Environment Schunk undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 \begin{Schunk}
?
Miro el manual y no entiendo lo que puede estar pasando. Quizás es una pijada de configuración pero estoy parado y no puedo seguir.
Alguien le ha pasado esto o me puede ayudar?
Gracias.
Robert
estoy intentando integrar el software estadístico R con Latex a través de la función Sweave. Estoy utilizando MikTex 2.8 y cuando abro el archivo *.tex e intento compilar el siguiente código:
(estoy haciendo pruebas ahora)
\begin{Schunk}
\begin{Sinput}
> data(PlantGrowth)
> summary(PlantGrowth)
\end{Sinput}
\begin{Soutput}
weight group
Min. :3.590 ctrl:10
1st Qu.:4.550 trt1:10
Median :5.155 trt2:10
Mean :5.073
3rd Qu.:5.530
Max. :6.310
\end{Soutput}
\end{Schunk}
me aparece el siguiente error:
This is pdfTeX, Version 3.1415926-1.40.10 (MiKTeX 2.8)
entering extended mode
("C:/Documents and Settings/HP_Propietario/Mis documentos/rivera.tex"
LaTeX2e <2009/09/24>
Babel <v3.8l> and hyphenation patterns for english, dumylang, nohyphenation, ge
rman, ngerman, german-x-2009-06-19, ngerman-x-2009-06-19, french, loaded.
! LaTeX Error: Environment Schunk undefined.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.1 \begin{Schunk}
?
Miro el manual y no entiendo lo que puede estar pasando. Quizás es una pijada de configuración pero estoy parado y no puedo seguir.
Alguien le ha pasado esto o me puede ayudar?
Gracias.
Robert
Valora esta pregunta


0