Chargement...
 
Imprimer

r_demo04_export

1. Basic image with svg and pdf export


{RR(loadandsave="1", wikisyntax="0", echo="1")}
if(!require(Cairo)){
install.packages("Cairo", repos="http://ftp.heanet.ie/mirrors/cran.r-project.org/")
}
{RR}
{R(svg="1", pdf="1", echo="1")}
x<-c(1:10)
y <- x*x
plot(x,y)
{R}