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(88022,90989,91800,91299,90999,89611,89255,87170,91543,93107,94871,96720,94730,96473,103961,114924,130234,132124,122798,137960,154149,153911,159344,160530,158765,163133,169457,175245,170483,158194,156698,153452,159164,149266,133908,130532,113533,94999,86968,84750,96044,100640,97452,103293,110142,112616,117849,133307,144430,160447,156074,172035,168975,180833,192523,201133,209959,206048,204828,188637) > par3 = 'Financiële activa van particulieren in België' > par2 = 'Belgostat' > par1 = 'Aandelen en overige deelnemingen' > ylab = 'value' > xlab = 'index' > main = 'Aandelen en overige deelnemingen' > postscript(file="/var/www/html/rcomp/tmp/1swkl1224325367.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/228wb1224325367.tab") > > system("convert tmp/1swkl1224325367.ps tmp/1swkl1224325367.png") > > > proc.time() user system elapsed 0.592 0.173 0.671