* Sweave (via ESS) *** Using Sweave for "Reproducible Research" (RR) is just one of several reasons: - "Annotate an R script" in flexible way: 1. The solution of an exercise in the class /Using R/ file:~/Vorl/R/UsingR/Exercises/loes-9-array.Rnw 2. A small unfinished "paper" that started as an R script, and I had gradually annotated: file:~/R/Pkgs/copula/inst/doc/Frank-Rmpfr.Rnw - Teaching: A Class "Using R" file:~/Vorl/R/UsingR/Slides/slides.tex - includes many *Rnw generated chapters e.g., file:~/Vorl/R/UsingR/Slides/basics-distributions.Rnw - "Vignettes": Introducing/Explaining R Packages : * *Matrix* package, sparse model matrices: file:~/R/Pkgs/Matrix/inst/doc/sparseModels.Rnw * *Rmpfr* for arbitrarily accurate computations: file:~/R/Pkgs/Rmpfr/inst/doc/Rmpfr-pkg.Rnw - -> look at the "fake" part and my capture.and.write() function and the R file in there, and the Roxygen possibilities Via menu =[ESS]= -> =[Roxygen]= -- or (C-c C-e C-h) try the =[preview HTML]= - Look at the end with the "latexed" =sessionInfo()= - A scientfic paper, where the figures are produced using R *and* the R code is all together with the text of the paper: file:~/R/MM/MMMH/ggraph-paper/ggraph.Rnw producing the nice paper file:~/R/MM/MMMH/ggraph-paper/ggraph.pdf (is large; --> uploaded separately)