R version 3.3.1 (2016-06-21) -- "Bug in Your Hair" Copyright (C) 2016 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-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(54854,53982,52301,51652,50338,51959,57648,57803,52599,51123,49604,51154,51765,50491,49332,48690,47496,48107,53970,54300,50246,48519,47602,49723,52010,50976,49795,49104,48354,49390,55323,56287,52831,51881,51382,53000,54365,53815,53107,53031,52419,53378,59398,60706,58531,57244,56843,58299,60654,59579,58823,57813,56487,57644,62444,62890,59758,58716,57485,57888,59676,58365,57337,56520,55189,56229,60766,61393,57919,56772,55820,56953) > par4 = '12' > par3 = 'Vrouwelijke niet-werkende werkenzoekenden tussen 25 en -50 jaar in het Vlaams Gewest' > par2 = 'stat.nbb.be' > par1 = 'niet-werkende werkzoekenden' > ylimmax = '' > ylimmin = '' > ylab = 'Aantal vrouwelijke NWWZ ((25-50 jaar)' > xlab = 'Maand (01/2010 – 12/2015)' > main = 'Vrouwelijke NWWZ (25-50 jaar)' > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 47500 51320 54330 54580 57810 62890 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1onei1475512022.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/2jnow1475512022.tab") > > try(system("convert tmp/1onei1475512022.ps tmp/1onei1475512022.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.672 0.082 0.765