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(346545.627,314279.910,308812.096,290559.914,327380.264,345085.079,377331.697,368439.037,335622.198,312450.223,302101.256,341947.963,343121.454,298500.316,317458.276,289562.400,315062.110,363671.636,402273.846,404940.681,350217.801,316397.924,306115.236,348101.071,328657.739,307333.430,318729.800,297858.078,330615.570,364259.798,410420.793,407762.536,332055.321,321567.091,309158.826,336283.246,353531.095,323230.395,320471.243,303129.064,330202.758,362754.877,393226.432,421796.659,355393.912,332615.416,314102.543,346290.331,362142.474,324274.772,323931.760,304333.531,324589.071,372442.921,402088.175,387974.725,337258.801,318231.559,309929.807,343061.285) > par3 = 'Globale geproduceerde energie in USA' > par2 = 'economagic' > par1 = 'All Sectors, Electricity Net Generation, Total; Million Kilowatthours ' > ylab = 'Million Kilowatthours' > xlab = 'months (2004-2008)' > main = 'Totaal geproduceerde energie in USA' > #'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/1luup1255287977.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/2e0iu1255287978.tab") > > system("convert tmp/1luup1255287977.ps tmp/1luup1255287977.png") > > > proc.time() user system elapsed 0.377 0.192 0.553