[R] Sweave: The opposite of tangle

Kevin E. Thorpe kevin.thorpe at utoronto.ca
Fri Jun 25 12:37:50 CEST 2010


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