Skip to content
Prev 38714 / 63424 Next

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