Skip to content
Prev 38715 / 63424 Next

Error in generating sweave-tex -> pdf file

Define the envvar LC_ALL with value "C" will reduce the texi2dvi error. Sweave.sty need to be at the right location depend on the kind of tex installation.

Jun

----- Original Message -----
From: carol white [mailto:wht_crl at yahoo.com]
Sent: Wednesday, December 22, 2010 12:30 PM
To: Duncan Murdoch <murdoch.duncan at gmail.com>
Cc: r-devel at r-project.org <r-devel at r-project.org>
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file

Should the Sweave package be in /usr/share/texmf/tex/latex/? How about 
Sweave.sty?

Thanks



----- Original Message ----
From: Duncan Murdoch <murdoch.duncan at gmail.com>
To: carol white <wht_crl at yahoo.com>
Cc: r-devel at r-project.org
Sent: Wed, December 22, 2010 6:42:07 PM
Subject: Re: [Rd] Error in generating sweave-tex -> pdf file
On 22/12/2010 12:27 PM, carol white wrote:
The Schunk, Sinput, and Soutput environments are defined in Sweave package.  
Something went wrong and latex didn't find them, either because it didn't find 
Sweave.sty, or because it did, but that file has been messed up.
Are there really spaces between the backslashes and the macros?  I think that 
doesn't work.  You should also have the \usepackage{Sweave} line after the 
opening \documentclass line.

Duncan Murdoch
______________________________________________
R-devel at r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel