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(7660,7041,8186,7677,6532,6269,5418,5806,6479,6100,6259,6974,7452) > par3 = '' > par2 = 'http://statline.cbs.nl/StatWeb/publication/?DM=SLNL&PA=70017&D1=0-1&D2=0&D3=1-2&D4=77-l&HDR=T,G2&STB=G1,G3&VW=T' > par1 = 'Uitvoerwaarde van goederen' > ylab = 'Uitvoerwaarde niet-EU (in mlj euro)' > xlab = 'Maandperiode' > main = 'Uitvoerwaarde goederen' > postscript(file="/var/www/rcomp/tmp/1qn631255164681.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/2asym1255164682.tab") > > system("convert tmp/1qn631255164681.ps tmp/1qn631255164681.png") > > > proc.time() user system elapsed 0.290 0.350 0.594