R version 2.9.0 (2009-04-17) Copyright (C) 2009 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(4187,3863,4178,3903,3585,3163,4788,4100,4022,4405,3793,3914,4794,4106,4569,4409,4826,4394,3830,4247,5526,3809,4578,4300,5103,4121,4205,5116,4219,4736,4625,4146,5299,5011,4731,4619,5578,5369,4904,6102,5040,5731,5732,4491,4755,5208,4962,4163,5592,5755,4929,5219,4429,4143,4308,3996,4634,4138,3759,3922) > par3 = 'Aantal bouwaanvragen voor woningen' > par2 = 'Belgostat' > par1 = 'Aantal bouwaanvragen voor woningen' > ylab = 'value' > xlab = 'index' > main = 'Bouwaanvragen woningen' > postscript(file="/var/www/html/rcomp/tmp/12i4c1255472790.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/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/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/html/rcomp/tmp/2pio61255472790.tab") > > system("convert tmp/12i4c1255472790.ps tmp/12i4c1255472790.png") > > > proc.time() user system elapsed 0.381 0.167 0.464