search for: starttext

Displaying 1 result from an estimated 1 matches for "starttext".

Did you mean: starttest
2006 Jun 16
1
R in ConTeXt
...iling. The inverse of Sweave, as it were. The advantage is that there is then only one file to keep track of (.tex vs .rnw and .tex), while a drawback is speed, since each code snippet is evaluated in its own R session with associated startup time. Below is a small example of usage \usemodule[r] \starttext \title{Example usage of R module} \startRhidden rm(list=ls()) x <- rnorm(100) y <- runif(100) \stopRhidden \type{x} and \type{y} are randomly generated. \startR summary(lm(y~x)) pdf("xy.pdf") plot(y~x) dev.off() \stopR \placefigure{Y vs X}{\externalfigure[xy][width=.4\textwidth...