Displaying 1 result from an estimated 1 matches for "externalfigur".
Did you mean:
externalfigure
2006 Jun 16
1
R in ConTeXt
...e
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]}
\stoptext
Regards, Johan
--
Johan Sandblom N8, MRC, Karolinska sjh
t +46851776108 17176 Stockholm
m +46735521477 Sweden
"What is wanted is not the will to believe, but the
will to find out, which is the exact opposite"
- Bertrand Russell