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(2591,2664,2723,2811,2809,2914,2952,3182,3152,3491,3683,3735,3808,3801,3815,3933,3827,3903,3870,3853,3849,3917,4050,4130,4111,4074,3993,4276,4322,4506,4402,4340,4279,4192,4200,3905,3878,3804,3912,3796,3875,3822,3739,3772,3740,3733,3714,3652,3591,3641,3487,3357,3312,3311,3240,3322,3431,3301,3318,3284) > par4 = '12' > par3 = 'Unemployment men - USA - 2001-2005' > par2 = 'www.bls.gov' > par1 = 'unemployment_men' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = '' > postscript(file="/var/wessaorg/rcomp/tmp/1ei2j1321199621.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/2n15w1321199621.tab") > > try(system("convert tmp/1ei2j1321199621.ps tmp/1ei2j1321199621.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.458 0.078 0.539