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(18234,18989,18315,16020,21277,25816,29747,32185,39228,37028,34974,31455,30342,31150,32564,33756,32960,34947,30217,32096,30015,29706,27064,30058,28177,27062,28541,29117,30572,32482,31412,31029,25084,29468,30462,24755,24535,19576,18101,16006,14926,12766,13440,14723,15448,11842,11492,13342,16334,22768,22397,12430,16714,23804,25533,25648,23595,21547,22757,24885,27730,33168,24939,20630,28186,25205,28906,33856,40915,56037) > par3 = 'Jaarlijkse populatiegroei van 1937 tot 2007' > par2 = 'http://statbank.ssb.no/statistikkbanken/Default_FR.asp?PXSid=0&nvl=true&PLanguage=1&tilside=selecttable/hovedtabellHjem.asp&KortnavnWeb=dode' > par1 = 'Populatieaangroei Noorwegen' > ylab = 'value' > xlab = 'index' > main = 'Population increase by year' > #'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/rcomp/tmp/1gfpq1255988146.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/26qvz1255988146.tab") > > system("convert tmp/1gfpq1255988146.ps tmp/1gfpq1255988146.png") > > > proc.time() user system elapsed 0.390 0.240 0.666