R version 2.9.0 (2009-04-17) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 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(100.00,102.04,102.51,102.71,103.00,103.39,102.32,103.88,104.65,104.46,104.65,104.36,102.71,104.55,104.76,105.72,106.20,106.50,105.14,106.50,106.69,106.50,106.50,106.39,105.43,107.18,107.37,107.46,107.66,107.37,106.30,107.85,107.95,107.85,107.66,107.76,106.69,108.92,109.22,109.02,108.62,109.02,107.76,109.60,109.80,109.41,109.60,109.60,108.15,110.18,110.27,110.87,111.25,111.15,109.99,111.83,111.73,112.31,112.12,111.73,110.27,112.71,113.38,113.57,113.77,114.15,112.99,115.03,115.03,114.84,114.75,114.84,113.32,115.92,115.84,116.49,116.90,116.99,115.74,117.73,117.17,116.83,117.08,117.23,115.25,117.98,117.97,118.56,118.42,118.51,117.25,119.08,118.85,119.41,120.43,120.87,119.31,122.24,123.14,123.39,124.46,125.33,124.17,125.48,125.35,125.15,124.31,124.14,121.81,124.62,123.93,124.29,124.16,124.02,122.00,124.58,124.06) > par3 = 'Index van de consumentenprijzen' > par2 = 'Belgostat' > par1 = 'Index van de consumentenprijzen' > ylab = 'value' > xlab = 'index' > main = '' > postscript(file="/var/www/html/rcomp/tmp/1wv1n1260626926.ps",horizontal=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/html/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/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/html/rcomp/tmp/2rsgl1260626926.tab") > > system("convert tmp/1wv1n1260626926.ps tmp/1wv1n1260626926.png") > > > proc.time() user system elapsed 0.366 0.161 0.437