Thanks!  Starts to work now...

On Wed, Feb 4, 2009 at 3:13 PM, Charles C. Berry <cbe...@tajo.ucsd.edu>wrote:

> On Wed, 4 Feb 2009, Duncan Murdoch wrote:
>
>  cameron.bracken wrote:
>>
>>>  Kjetil Halvorsen wrote:
>>>
>>> >  The other problem refered to above comes from this source lines:
>>> > >   bubble(NURE.orig, "ppm", col = c("#00ff0088", "#00ff0088"))
>>> > >
>>>  You may have to escape the # character (i.e. put \# instead).  I know
>>> this
>>>  must be done for backslashes.
>>>
>>>
>> That shouldn't be a problem in Sweave, and in fact "\#" will give a
>> warning. I missed the start of the thread, but if the problem is about how
>> some editor handles Sweave, then that's a bug in the editor.
>>
>
> Indeed.
>
> Looking back at the original post:
>
> -----quote----
> \begin{figure}
>  \centering
>  <<label=fig1,fig=TRUE,echo=TRUE>>=
>  bubble(NURE.orig, "ppm", col = c("#00ff0088", "#00ff0088"))
> @
> \caption{Contenido de uranio (ppm)}
>
> -----end quote-----
>
> The user's editor indented the line that would have begun the code chunk
> had it not been indented.
>
> "Code chunks start with <<name >>= at the beginning of a line..." - Sweave
> manual.
>
> So, the supposed code chunk is treated as LaTeX.
>
> Chuck
>
>
>
>
>> Duncan Murdoch
>>
>> ______________________________________________
>> R-help@r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/r-help
>> PLEASE do read the posting guide
>> http://www.R-project.org/posting-guide.html
>> and provide commented, minimal, self-contained, reproducible code.
>>
>>
>>
> Charles C. Berry                            (858) 534-2098
>                                            Dept of Family/Preventive
> Medicine
> E mailto:cbe...@tajo.ucsd.edu               UC San Diego
> http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901
>
>
> ______________________________________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide
> http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

        [[alternative HTML version deleted]]

______________________________________________
R-help@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to