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(97.33,97.89,98.69,99.01,99.18,98.45,98.13,98.29,99.10,99.26,98.85,98.05,98.53,99.34,100.14,100.30,100.22,99.90,99.58,99.90,100.78,100.78,100.46,100.06,100.28,100.78,101.58,102.06,102.02,101.68,101.32,101.81,102.30,102.12,102.10,101.75,101.50,102.16,103.47,104.05,104.09,103.55,102.77,102.89,103.60,103.76,103.92,103.35,103.32,104.20,105.44,105.81,106.25,105.94,105.82,105.96,106.49,106.32,105.88,105.07) > par3 = 'Productie in Nederland' > par2 = 'CBS, Statline, http://statline.cbs.nl/StatWeb/publication/?DM=SLNL&PA=71099ned&D1=0&D2=104-115,117-128,130-141,143-168&HDR=T&STB=G1&VW=T' > par1 = 'Geharmoniseerde consumptieprijsindex' > ylab = 'Index' > xlab = 'Tijdspanne 01/04-12/08' > main = 'Geharmon.consumptieprijsindex voor NL ' > #'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/1h08d1255369967.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/2qmr71255369967.tab") > > system("convert tmp/1h08d1255369967.ps tmp/1h08d1255369967.png") > > > proc.time() user system elapsed 0.385 0.182 0.469