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(10341,9690,10125,9349,9224,9224,9454,9347,9430,9933,10148,10677,10735,9760,10567,9333,9409,9502,9348,9319,9594,10160,10182,10810,11105,9874,10958,9311,9610,9398,9784,9425,9557,10166,10337,10770,11265,10183,10941,9628,9709,9637,9579,9741,9754,10508,10749,11079,11608,10668,10933,9703,9799,9656,9648,9712,9766,10540,10564,10911) > par3 = 'Totaal binnenlands aanbod van elektriciteit.' > par2 = 'http://statline.cbs.nl/StatWeb/publication/?DM=SLNL&PA=00377&D1=0,4-6&D2=228-230,232-234,236-238,240-242,245-247,249-251,253-255,257-259,262-264,266-268,270-272,274-276,279-281,283-285,287-289,291-293,296-298,300-306,308-310,313-315,317-321&HDR=T&STB=G1&VW=T' > par1 = 'Totaal aanbod elektriciteit Nederland' > ylab = 'mln Kwh' > xlab = 'index' > main = 'Totaal aanbod elektriciteit Nederland' > #'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/1sdl21255363836.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/2y9p31255363836.tab") > > system("convert tmp/1sdl21255363836.ps tmp/1sdl21255363836.png") > > > proc.time() user system elapsed 0.393 0.181 1.758