R version 2.8.1 (2008-12-22) Copyright (C) 2008 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(4071,4351,4871,4649,4922,4879,4853,4545,4733,5191,4983,4593,4656,4513,4857,4681,4897,4547,4692,4390,5341,5415,4890,5120,4422,4797,5689,5171,4265,5215,4874,4590,4994,4988,5110,5141,4395,4523,5306,5365,5496,5647,5443,5546,5912,5665,5963,5861,5366,5619,6721,6054,6619,6856,6193,6317,6618,6585,6852,6586,6154,6193,7606,6588,7143,7629,7041,7146,7200,7739,7953,7082) > par3 = '' > par2 = 'http://statline.cbs.nl/StatWeb/publication/default.aspx?DM=SLNL&PA=70017&D1=5-6&D2=0&D3=1-2&D4=0-11%2c13-24%2c26-37%2c39-50%2c52-63%2c65-98&HDR=T&STB=G1%2cG2%2cG3&VW=T' > par1 = 'Uitvoerwaarde van goederen' > ylab = 'Uitvoerwaarde niet-EU (in mlj euro)' > xlab = 'Tijd' > main = 'Uitvoerwaarde goederen' > postscript(file="/var/www/rcomp/tmp/1wr4q1255331757.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/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/2rkv71255331757.tab") > > system("convert tmp/1wr4q1255331757.ps tmp/1wr4q1255331757.png") > > > proc.time() user system elapsed 0.390 0.290 0.648