R version 2.8.1 (2008-12-22) Copyright (C) 2008 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(329672,332602,335788,327316,328149,332100,337663,331713,339779,341230,339743,341265,339559,339254,354351,352424,352370,356599,357137,362297,363220,368982,373078,375496,380836,379951,387240,387625,388071,391171,391130,398861,404787,406903,409711,416683,418485,415090,419491,417258,426125,426294,422650,426221,410821,408628,410829,419663,408610,411584,417629,422726,426330,422938,431756,423435,422225,427623,435555,433063,437643,429531,434378,446031,447411,455873,462379,445455,431492,415900,388928,375980,366366,364479,358073,356430,353425,359928,359749) > par3 = '' > par2 = '' > par1 = 'manufacturing' > ylab = 'value' > xlab = 'index' > main = '' > postscript(file="/var/www/rcomp/tmp/1cuit1254226218.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/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/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/rcomp/tmp/2n3de1254226218.tab") > > system("convert tmp/1cuit1254226218.ps tmp/1cuit1254226218.png") > > > proc.time() user system elapsed 0.360 0.260 0.632