R version 2.8.1 (2008-12-22) Copyright (C) 2008 The R Foundation for Statistical Computing ISBN 3-900051-07-0 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > x <- c(46,46,41,43,39,36,34,31,27,27,30,28,31,25,26,22,27,38,39,45,48,46,47,55,63,83,100,76,68,63,63,62,62,64,72,67,67,67,69,78,80,85,90,83,84,84,89,82,76,97,82,79,73,72,74,77,78,68,71,68,70,79,78,79,78,77,72,72,84,83,82,78,77,75,77,73,64,64,71,65,68,64,65,56,57,51,52,79,59,54,55,47,52,52,54,49,48,44,47,43,45,40,38,46,51,49,57,61,61,81,97,105,108,113,111,111,110,109,105,97,97) > par3 = '' > par2 = 'Belgostat' > par1 = 'Werkloosheid' > ylab = 'value' > xlab = 'index' > main = '' > postscript(file="/var/www/rcomp/tmp/1a6tw1257416221.ps",horizontal=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab) > dev.off() null device 1 > > #Note: the /var/www/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Univariate Dataseries',2,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Name of dataseries',header=TRUE) > a<-table.element(a,par1) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Source',header=TRUE) > a<-table.element(a,par2) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Description',header=TRUE) > a<-table.element(a,par3) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,'Number of observations',header=TRUE) > a<-table.element(a,length(x)) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/www/rcomp/tmp/2z8p01257416221.tab") > > system("convert tmp/1a6tw1257416221.ps tmp/1a6tw1257416221.png") > > > proc.time() user system elapsed 0.42 0.34 0.68