R version 3.0.2 (2013-09-25) -- "Frisbee Sailing" Copyright (C) 2013 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(3167956.00 + ,3001753.00 + ,3571343.00 + ,3990145.00 + ,4472259.00 + ,4487988.00 + ,5021544.00 + ,4877589.00 + ,4563348.00 + ,4452338.00 + ,3535989.00 + ,3454304.00 + ,3331523.00 + ,3213977.00 + ,3896807.00 + ,4121803.00 + ,4566599.00 + ,4529566.00 + ,5172312.00 + ,5121598.00 + ,4713449.00 + ,4656638.00 + ,3647578.00 + ,3545823.00 + ,3388686.00 + ,3348700.00 + ,3973721.00 + ,4156519.00 + ,4713826.00 + ,4704148.00 + ,5175950.00 + ,5025767.00 + ,4600637.00 + ,4560314.00 + ,3443549.00 + ,3333873.00 + ,3072606.00 + ,2891262.00 + ,3390581.00 + ,3888685.00 + ,4173577.00 + ,4130139.00 + ,4851476.00 + ,4811406.00 + ,4322719.00 + ,4274814.00 + ,3355439.00 + ,3293039.00 + ,3114971.00 + ,3049444.00 + ,3697355.00 + ,3213665.00 + ,4447089.00 + ,4442139.00 + ,5119203.00 + ,5058056.00 + ,4623783.00 + ,4666071.00 + ,3719403.00 + ,3440349.00 + ,3466587.00 + ,3251624.00 + ,3921482.00 + ,4466794.00 + ,4916693.00 + ,4939490.00 + ,5627276.00 + ,5540569.00 + ,5128892.00 + ,5024163.00 + ,3807138.00 + ,3777434.00 + ,3675761.00 + ,3552136.00 + ,4177498.00 + ,4568847.00 + ,5027940.00 + ,5078079.00 + ,5759003.00 + ,5671424.00 + ,5239374.00 + ,5100023.00 + ,3944666.00 + ,3858569.00 + ,3670053.00 + ,3563751.00 + ,4341934.00 + ,4779391.00 + ,5440427.00 + ,5404974.00 + ,5934128.00 + ,5942981.00 + ,5477811.00 + ,5288928.00 + ,4099344.00 + ,4103791.00) > par4 = '12' > par3 = '' > par2 = 'Belgostat' > par1 = '' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = 'Univariate Data' > if (par4 != 'No season') { + par4 <- as.numeric(par4) + if (par4 < 4) par4 <- 12 + } > summary(x) Min. 1st Qu. Median Mean 3rd Qu. Max. 2891000 3569000 4332000 4293000 4922000 5943000 > n <- length(x) > postscript(file="/var/wessaorg/rcomp/tmp/1k6f51412949000.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/2boe31412949000.tab") > > try(system("convert tmp/1k6f51412949000.ps tmp/1k6f51412949000.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.559 0.088 0.640