R version 2.13.0 (2011-04-13) Copyright (C) 2011 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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(130678,120877,137114,134406,120262,130846,120343,98881,115678,120796,94261,89151,119880,131468,155089,149581,122788,143900,112115,109600,117446,118456,101901,89940,129143,126102,143048,142258,131011,146471,114073,114642,118226,111338,108701,80512,146865,137179,166536,137070,127090,139966,122243,109097,116591,111964,109754,77609,138445,127901,156615,133264,143521,152139,131523,113925,86495,127877,107017,78716,138278,144238,143679,159932,136781,148173,125673,105573,122405,128045,94467,85573,121501,125074,144979,142120,124213,144407,125170,109267,122354,122589,104982,90542) > par20 = '' > par19 = '' > par18 = '' > par17 = '' > par16 = '' > par15 = '' > par14 = '' > par13 = '' > par12 = '' > par11 = '' > par10 = '' > par9 = '' > par8 = '' > par7 = '' > par6 = '' > par5 = '' > par4 = '12' > par3 = 'Inschrijvingen wagens voor de periode 2003-2009' > par2 = 'http://www.mobilit.fgov.be/nl/index.htm' > par1 = 'Inschrijvingen nieuwe en tweedehands voertuigen' > ylab = 'aantal' > xlab = 'periode' > main = 'Inschrijvingen wagens' > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 77610 111800 123500 123300 137500 166500 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1z8141324128626.ps",horizontal=F,onefile=F,pagecentre=F,paper="special",width=8.3333333333333,height=5.5555555555556) > if (par4=='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,10)) + } > if (par4!='No season') { + plot(x,col=2,type='b',main=main,xlab=xlab,ylab=ylab,xaxt='n') + axis(1,at=seq(1,n,par4)) + grid(nx=0,ny=NULL,col='black') + abline(v=seq(1,n,par4),col='black',lty='dotted') + } > dev.off() null device 1 > > #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/257an1324128626.tab") > > try(system("convert tmp/1z8141324128626.ps tmp/1z8141324128626.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.551 0.091 0.654