R version 2.7.2 (2008-08-25) 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(318659,304178,403806,369466,476144,462222,322827,319770,228512,260940,291626,285037,273457,414349,355650,264721,440453,275059,304662,348960,310036,515110,347961,395810,352607,438297,340726,348464,450489,315301,441309,339312,252923,433794,306797,543156,400087,348360,402258,286308,720775,397954,399305,455944,384758,402578,413567,318628,391389,363914,626596,317634,499559,493561,303428,420725,528974,298625,585058,380802,496968,757427,479982,425681,588901,589616,345102,571600,442515,439967,505019,388440,400949) > par3 = 'Niet-Woongebouwen in het Vlaamse Gewest' > par2 = 'Belgostat' > par1 = 'Bouwvergunningen' > ylab = 'value' > xlab = 'index' > main = '' > postscript(file="/var/www/html/rcomp/tmp/1y2oe1223923812.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/2ld0v1223923812.tab") > > system("convert tmp/1y2oe1223923812.ps tmp/1y2oe1223923812.png") > > > proc.time() user system elapsed 0.607 0.174 0.667