x <- c(9676,8642,9402,9610,9294,9448,10319,9548,9801,9596,8923,9746,9829,9125,9782,9441,9162,9915,10444,10209,9985,9842,9429,10132,9849,9172,10313,9819,9955,10048,10082,10541,10208,10233,9439,9963,10158,9225,10474,9757,10490,10281,10444,10640,10695,10786,9832,9747,10411,9511,10402,9701,10540,10112,10915,11183,10384,10834,9886,10216) par4 = '12' par3 = 'Maandelijkse geboortecijfer' par2 = 'Bron;http://statbel.fgov.be/nl/modules/publications/statistiques/bevolking/downloads/levendgeborenen_geboortemaand.jsp' par1 = 'Maandelijkse geboortecijfer' ylimmax = '' ylimmin = '' ylab = 'value' xlab = 'index or time' main = '' postscript(file="/var/wessaorg/rcomp/tmp/1johv1322210013.ps",horizontal=F,onefile=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() #Note: the /var/wessaorg/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab load(file="/var/wessaorg/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/wessaorg/rcomp/tmp/21ikg1322210013.tab") try(system("convert tmp/1johv1322210013.ps tmp/1johv1322210013.png",intern=TRUE))