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(70782,68725,65465,64361,63724,67281,88780,94794,90533,81482,73898,71442,68713,66161,61682,60925,57395,58921,80140,85265,77712,71770,64973,66061,63070,60086,57261,55738,51888,55511,74755,78903,71621,65936,62100,65008,63376,63583,62653,63178,60348,65271,86452,91993,86241) > par3 = 'werkloosheid bij personen die het hoger onderwijs diploma hebben behaald' > par2 = 'belgostat' > par1 = 'werkloosheid totaal in hoger onderwijs' > ylab = 'value' > xlab = 'index' > main = 'werkloosheid totaal hoger onderwijs' > postscript(file="/var/www/html/rcomp/tmp/1jiz41257198928.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/2re7n1257198928.tab") > > system("convert tmp/1jiz41257198928.ps tmp/1jiz41257198928.png") > > > proc.time() user system elapsed 0.373 0.167 0.753