x <- c(20780,20270,20270,20270,20250,20310,19660,19760,19750,19470,19320,19360,19600,20140,19660,19790,19670,19590,19340,19330,19430,19520,19400,19910,19800,19830,20100,20260,20310,20450,19990,20095,20365,19740,20100,19910,20060,20440,20740,21480,21050,21850,22490,21660,21650,21680,23020,23100,22650,22440,22910,22980)
par3 = 'evolutie goudprijs'
par2 = 'belgostat.be'
par1 = 'goudprijs'
ylab = 'waarde'
xlab = 'dag'
main = 'evolutie goudprijs'
#'GNU S' R Code compiled by R2WASP v. 1.0.44 ()
#Author: Prof. Dr. P. Wessa
#To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/
#Source of accompanying publication: Office for Research, Development, and Education
#Technical description: Write here your technical program description (don't use hard returns!)
postscript(file="/var/www/html/rcomp/tmp/11d961234166385.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()

#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/2lsdr1234166385.tab") 

system("convert tmp/11d961234166385.ps tmp/11d961234166385.png")

