I have solved the problem. It seems that the \Sexpr{} sequence is processed
by R rather than latex. If you use:
Sweave("Sweave-test-1.Rnw", syntax="SweaveSyntaxNoweb")
When processing in R then this is handled in the appropriate way.
Duncan Murdoch-2 wrote:
>
> On 1/6/2009 6:44 AM, Mr Derik
gt; \begin{Sinput}
>>>
>>> boxplot(Sepal.Length ~ Species, data = iris)
>>
>> \end{Sinput}
>> \end{Schunk}
>> \includegraphics{Sweave-test-1-007}
>>\caption{Boxplot of sepal length grouped by species.}
>> \end{center}
>> \end{f
One other suggestion: use the SweavePDFMikTex function from patchDVI
(available on http://r-forge.r-project.org/projects/sweavesearch) to
handle both the Sweave call, and the pdflatex call.
Duncan Murdoch
__
R-help@r-project.org mailing list
https:/
trol sequences
such as \begin{Schunk} but doesn't recognise \Sexpr.
I've uploaded the PDF I get, if that is of any help.
Cheers
Matt
-Original Message-
From: Duncan Murdoch [mailto:murd...@stats.uwo.ca]
Sent: Tuesday, January 06, 2009 2:18 PM
To: Mr Derik
Cc: r-help@r-p
weave control sequences
such as \begin{Schunk} but doesn't recognise \Sexpr.
I've uploaded the PDF I get, if that is of any help.
Cheers
Matt
-Original Message-
From: Duncan Murdoch [mailto:murd...@stats.uwo.ca]
Sent: Tuesday, January 06, 2009 2:18 PM
To: Mr Derik
Cc: r-help@r
On 1/6/2009 6:44 AM, Mr Derik wrote:
Hello
I have been setting up my computer to run Sweave. I have got the whole thing
working on example files, except that my MikTex returns an "Undefined
Control Sequence" error for \Sexpr and my output file contains verbatim code
sequences at the apropriate p
Hello
I have been setting up my computer to run Sweave. I have got the whole thing
working on example files, except that my MikTex returns an "Undefined
Control Sequence" error for \Sexpr and my output file contains verbatim code
sequences at the apropriate point in the text rather than the R out
7 matches
Mail list logo