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(29975,29124,29704,29564,30550,29812,30611,30577,30637,30944,30852,31216,31113,32073,31447,32293,31807,31778,31707,32135,31929,32923,33181,33435,34721,35179,35605,35931,35093,35053,35092,35295,35981,35606,35815,36144,36391,35642,36896,36399,38385,38226,38609,38227,38254,38047,38437,37963,38231,38283,38839,38833,39431,40091,40289,39433,38677,38107,38485,38464) > par4 = '12' > par3 = 'Prices paid to growers in exporting Member countries in US cents per lb (Arabica, 1977/1 - 2006/12)' > par2 = 'www.ico.org' > par1 = 'Consumption expenditure: Sporting equipment' > ylimmax = '' > ylimmin = '' > ylab = 'expenditures' > xlab = 'time' > main = '' > postscript(file="/var/wessaorg/rcomp/tmp/1noes1321195154.ps",horizontal=F,onefile=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/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/2zx1h1321195154.tab") > > try(system("convert tmp/1noes1321195154.ps tmp/1noes1321195154.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.480 0.077 0.571