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(-7,-1,5,6,5,5,9,10,14,19,18,16,8,10,12,13,15,3,2,-2,1,1,-1,-6,-13,-25,-26,-9,1,3,6,2,5,5,0,-5,-4,-2,-1,-8,-16,-19,-28,-11,-4,-9,-12,-10,-2,-13,0,0,4,7,5,2,-2,6,-3,1,0,-7,-6,-4,-4,-2,2,-5,-15,-16,-18,-13,-23,-10,-10,-6,-3,-4,-7,-7,-7,-3,0,-5,-3,3,2,-7,-1,0,-3,4,2,3,0,-10,-10,-9,-22,-16,-18,-14,-12,-17,-23,-28,-31,-21,-19,-22,-22,-25,-16,-22,-21,-10,-7,-5,-4,7,6) > par3 = '' > par2 = 'Belgostat' > par1 = 'Algemene economische situatie' > ylab = 'value' > xlab = 'monthly' > main = 'Algemene economische situatie' > postscript(file="/var/www/html/rcomp/tmp/15g7s1255088948.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/27bxn1255088948.tab") > > system("convert tmp/15g7s1255088948.ps tmp/15g7s1255088948.png") > > > proc.time() user system elapsed 0.386 0.171 0.478