R version 2.12.0 (2010-10-15) Copyright (C) 2010 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i486-pc-linux-gnu (32-bit) 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(4606.07,4176.60,4331.53,3987.30,4205.86,4331.37,4106.30,4009.33,3857.64,3929.00,4210.47,4445.82,4497.07,4443.71,4529.25,4634.22,4772.67,4881.52,5153.13,5324.19,5209.36,5108.92,5130.88,5195.68,5050.42,5101.03,5139.84,5234.31,5435.73,5633.57,5498.28,5668.13,5537.64,5442.78,5491.50,5501.20,5658.08,5686.16,5801.24,5678.40,5793.68,5866.10,6087.27,6058.70,6171.63,6385.55,6180.05,6159.65,6271.59,6365.59,6420.76,6628.97,6731.85,6884.40,6927.25,6796.18,6903.69,7189.46,7435.08,7379.99,7174.80,7233.46,7597.58,7790.04,7466.77,7350.45,6850.64,6717.18,6600.54,6979.58,6971.45,6411.48,6276.01,6190.56,5618.64,4595.00,4287.38,4385.35,3927.01,3495.28,3757.45,4076.75,4475.36,4396.44,4766.91,4907.38,5069.67,4983.56,5245.81,5241.07,5003.74,5075.38,5358.33,5298.80,4784.64,4579.82,4982.42,4776.39,5157.48,5305.21,5187.20) > par4 = 'No season' > par3 = 'koerdata jun. 2002 - nov. 2010' > par2 = 'Yahoo Finance' > par1 = 'NYSE World Leaders Index ' > ylimmax = '' > ylimmin = '' > ylab = 'value' > xlab = 'index or time' > main = '' > #'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/rcomp/tmp/1sfpt1292776093.ps",horizontal=F,onefile=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/2678t1292776094.tab") > > try(system("convert tmp/1sfpt1292776093.ps tmp/1sfpt1292776093.png",intern=TRUE)) character(0) > > > proc.time() user system elapsed 0.440 0.220 0.634