R version 2.12.0 (2010-10-15) Copyright (C) 2010 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(330123,334728,338414,338582,339904,341396,343496,344591,346099,347258,348503,348628,349913,352797,354539,353032,355576,355603,357889,359310,361253,364253,364872,364201,368830,368755,370117,372895,374215,375539,380550,382839,386678,389265,393978,397923,394691,394410,398981,399827,403635,402425,406939,404544,406309,407884,407151,414154,408459,407609,408503,409068,412860,415113,418053,415780,413562,414521,413948,413106) > 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: Recreation' > ylimmax = '' > ylimmin = '' > ylab = 'expenditure' > xlab = 'time' > main = '' > postscript(file="/var/www/rcomp/tmp/16coy1321194972.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/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/2yhkk1321194972.tab") > > try(system("convert tmp/16coy1321194972.ps tmp/16coy1321194972.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.670 0.050 0.713