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