[R] Sweave: The opposite of tangle

stefan.duke at gmail.com stefan.duke at gmail.com
Fri Jun 25 20:16:41 CEST 2010


Thanks! That was exactly what I was looking for.
Best,
Stefan


On Fri, Jun 25, 2010 at 12:37 PM, Kevin E. Thorpe
<kevin.thorpe at utoronto.ca> wrote:
> Kevin E. Thorpe wrote:
>>
>> stefan.duke at gmail.com wrote:
>>>
>>> Hi,
>>> I am using Sweave to write an article. If I want to convert the *.rnw
>>> to a *.tex file I have to run Sweave which might take a long time. Is
>>> there away to get a tex-file as result without (evaluating) the
>>> R-chunks, i.e. the opposite of tangle (that just gives R-chunk).
>>> Thanks,
>>> Stefan
>>>
>>
>> This is untested, but does Sweave("file.rnw", eval=FASLE) do what you
>> want?
>>
>
> That should be FALSE above.  Don't post before coffee.
> h
>
> --
> Kevin E. Thorpe
> Biostatistician/Trialist, Knowledge Translation Program
> Assistant Professor, Dalla Lana School of Public Health
> University of Toronto
> email: kevin.thorpe at utoronto.ca  Tel: 416.864.5776  Fax: 416.864.3016
>



More information about the R-help mailing list