R version 2.7.0 (2008-04-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(459191,466617,477604,482132,488837,490761,495016,491156,502519,509405,516184,525109,536953,543315,554950,574343,600423,605963,605672,626140,650740,644045,659971,677720,685500,692880,713398,726815,726448,722721,712776,707154,721030,698097,697694,696268,669371,642615,639078,632034,651048,652996,651578,672179,684741,685734,691557,717499,739340,760643,769425,790364,782748,799182,817333,834295,851736,849382,838158,817005) > par3 = 'Financiële activa van particulieren in België' > par2 = 'Belgostat' > par1 = 'Algemeen totaal' > ylab = 'value' > xlab = 'index' > main = 'Algemeen totaal' > postscript(file="/var/www/html/rcomp/tmp/1sqwh1224325643.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/2a96h1224325643.tab") > > system("convert tmp/1sqwh1224325643.ps tmp/1sqwh1224325643.png") > > > proc.time() user system elapsed 1.142 0.286 1.206