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(535,681,830,720,582,806,728,803,830,699,622,655,571,512,674,522,627,769,633,715,702,678,531,562,504,552,511,695,559,677,636,694,694,624,524,557,490,475,492,491,489,606,618,607,637,597,539,600,448,520,607,566,595,625,667,587,629,562,511,664) > par3 = 'Aantal gebouwen' > par2 = 'Belgostat' > par1 = 'Bouwvergunningen - niet-woongebouwen - koninkrijk' > ylab = 'value' > xlab = 'index' > main = '' > postscript(file="/var/www/html/rcomp/tmp/1fhho1223933684.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/2uunu1223933684.tab") > > system("convert tmp/1fhho1223933684.ps tmp/1fhho1223933684.png") > > > proc.time() user system elapsed 0.587 0.174 0.681