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(127800,127700,128500,129400,128800,128800,131300,131100,131500,132900,133500,133400,134828,136488,135943,138717,139223,139869,140507,140259,139220,144033,144683,147354,148813,152657,155912,155271,161382,162106,164825,162810,163398,164844,165910,165774,164881,164861,165501,164334,162229,162748,163915,160890,159779,161106,160659,160007,158917,159052,159507,159107,159925,161327,159957,156997,159316,159793,161383,161828,162887,164071,163810,166708,168481,169913,169602,170559,170943) > par4 = '12' > par3 = '' > par2 = 'Economagic' > par1 = 'US Bread sales' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = '' > postscript(file="/var/wessaorg/rcomp/tmp/1kg9v1321353281.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/2vai21321353281.tab") > > try(system("convert tmp/1kg9v1321353281.ps tmp/1kg9v1321353281.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.507 0.076 0.583