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(2489,2271,2619,2704,3023,3033,2492,2854,2966,2987,2378,2294,2377,2258,2267,2601,2843,3018,2494,2647,3016,3101,2496,2342,2271,1969,2195,2293,2706,3000,2691,2554,2961,3225,2960,2748,2379,2253,2592,2780,2833,2911,2493,2643,2902,2881,2658,2609,2367,2492,2414,2621,3055,2940,2582,2431,2781,2904,2474,2254) > par3 = 'Aantal ongevallen 2004 - 2008' > par2 = 'www.statbel.fgov.be' > par1 = 'Aantal ongevallen 2004 - 2008' > ylab = 'Aantal ongevallen 2004 - 2008' > xlab = 'Waarnemingen' > main = 'Aantal ongevallen 2004 - 2008' > #'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/1z6xe1259497500.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/2ad161259497500.tab") > > system("convert tmp/1z6xe1259497500.ps tmp/1z6xe1259497500.png") > > > proc.time() user system elapsed 0.372 0.175 0.444