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(0.892201,1.007095,0.966709,1.003381,0.950054,0.942173,0.938196,0.731490,0.815207,0.841577,0.896191,0.918043,0.819296,0.907075,0.892324,0.927952,0.897811,0.917274,0.909615,0.876498,0.918068,0.888221,0.928924,0.921158,0.832321,0.918037,0.902913,0.934450,0.886786,0.903352,0.883465,0.849764,0.906730,0.872937,0.909101,0.916899,0.861511,0.926093,0.890331,0.917292,0.887005,0.922855,0.879873,0.683812,0.839532,0.874177,0.909158,0.926634,0.854157,0.939830,0.917559,0.967147,0.918967,0.971321,0.974110,0.965109,0.989029,0.944283,0.980111,0.976797) > par4 = '12' > par3 = 'Production of petroleum in quadrillion Btu' > par2 = 'http://www.economagic.com' > par1 = 'Production' > ylimmax = '' > ylimmin = '' > ylab = 'production' > xlab = 'Time' > main = 'Production of Petroleum' > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Prof. Dr. P. Wessa > #To cite this work: Wessa P., (2007), Plot of univariate data series (v1.0.1) in Free Statistics Software (v$_version), Office for Research Development and Education, URL http://www.wessa.net/rwasp_univariatedataseries.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/11geu1289571302.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/2xqc31289571302.tab") > > try(system("convert tmp/11geu1289571302.ps tmp/11geu1289571302.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.406 0.193 0.807