|
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 ______________________________________________ [hidden email] 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. |
|
[hidden email] 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? -- Kevin E. Thorpe Biostatistician/Trialist, Knowledge Translation Program Assistant Professor, Dalla Lana School of Public Health University of Toronto email: [hidden email] Tel: 416.864.5776 Fax: 416.864.3016 ______________________________________________ [hidden email] 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. |
|
Kevin E. Thorpe wrote:
> [hidden email] 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: [hidden email] Tel: 416.864.5776 Fax: 416.864.3016 ______________________________________________ [hidden email] 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. |
|
Thanks! That was exactly what I was looking for.
Best, Stefan On Fri, Jun 25, 2010 at 12:37 PM, Kevin E. Thorpe <[hidden email]> wrote: > Kevin E. Thorpe wrote: >> >> [hidden email] 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: [hidden email] Tel: 416.864.5776 Fax: 416.864.3016 > ______________________________________________ [hidden email] 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. |
| Powered by Nabble | Edit this page |
