R version 2.7.2 (2008-08-25) 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(0.21,0.2,0.19,0.19,0.19,0.18,0.18,0.17,0.17,0.17,0.16,0.15,0.16,0.15,0.17,0.19,0.19,0.18,0.21,0.22,0.24,0.24,0.25,0.28,0.28,0.3,0.32,0.29,0.32,0.32,0.34,0.36,0.45,0.44,0.43,0.39,0.33,0.33,0.32,0.33,0.34,0.36,0.34,0.33,0.35,0.31,0.28,0.26,0.26,0.26,0.29,0.3,0.3,0.28,0.29,0.29,0.32,0.33,0.29,0.31,0.33,0.36,0.39,0.3,0.27,0.28,0.29,0.3,0.3,0.3,0.31,0.3,0.31,0.29,0.32,0.33,0.35,0.35,0.36,0.4,0.4,0.47,0.43,0.38,0.38,0.4,0.45,0.47,0.45,0.5,0.54,0.55,0.59,0.51,0.5,0.5) > par3 = 'Gasolieprijs voor grote bedrijven' > par2 = 'http://www.nbb.be/belgostat/PresentationLinker?TableId=251000008&Lang=N' > par1 = 'Gasolieprijs >2000l (1998-2005)' > ylab = 'Prijs in euro per liter' > xlab = 'Maanden (1998-2005)' > main = 'Gasolieprijs >2000l (1998-2005)' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: AUTHOR(S), (YEAR), YOUR SOFTWARE TITLE (vNUMBER) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_YOURPAGE.wasp/ > #Source of accompanying publication: Office for Research, Development, and Education > #Technical description: Write here your technical program description (don't use hard returns!) > postscript(file="/var/www/html/rcomp/tmp/1i0ul1223937852.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/2s8791223937852.tab") > > system("convert tmp/1i0ul1223937852.ps tmp/1i0ul1223937852.png") > > > proc.time() user system elapsed 0.610 0.189 0.676