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(26862,28261,31761,32624,32950,34711,34124,31860,32404,33027,28944,29702,29144,29715,35710,37324,37687,39071,38986,37702,36444,36423,35266,35461,33073,35721,44670,43461,42998,45039,41555,43850,42253,42036,39552,38572,36862,37883,47264,43698,48335,50368,45633,48708,44588,44021,41601,39761,40848,45488,51253,49495,53348,50286,50191,50596,46689,49249,43597,41862) > par20 = '' > par19 = '' > par18 = '' > par17 = '' > par16 = '' > par15 = '' > par14 = '' > par13 = '' > par12 = '' > par11 = '' > par10 = '' > par9 = '' > par8 = '' > par7 = '' > par6 = '' > par5 = '' > par4 = '12' > par3 = 'Total US car sales in millions of dollars' > par2 = 'Economagic' > par1 = 'USA car sales' > ylab = 'Sales' > xlab = 'Time' > main = 'US Car Sales' > postscript(file="/var/www/rcomp/tmp/17crc1321383409.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/2r8gp1321383409.tab") > > try(system("convert tmp/17crc1321383409.ps tmp/17crc1321383409.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.660 0.060 0.724