R version 2.8.0 (2008-10-20) 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(186.30,186.70,187.10,187.40,188.20,188.90,189.10,189.20,189.80,190.80,191.70,191.70,191.80,192.40,193.10,193.80,193.50,193.60,194.70,196.00,198.70,199.20,198.40,198.30,199.40,199.50,199.80,200.70,201.30,201.70,202.70,203.60,202.80,201.90,202.30,203.30,203.57,204.36,205.35,205.92,206.68,207.02,207.34,207.52,208.38,209.13,211.17,211.74,212.50,212.86,213.67,214.00,215.04,217.03,218.61,218.58,218.68,216.89,213.26,211.58,212.17,213.01,212.71,212.67,212.88,214.46,214.47,215.43) > par3 = 'unemployment rate' > par2 = 'http://www.economagic.com/em-cgi/data.exe/fedstl/unrate' > par1 = 'All Urban Consumers - (CPI-U): U.S. city average: All items: 1982-84=100' > ylab = ' All items: 1982-84=100' > xlab = 'index' > main = 'Consumer price index' > #'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/freestat/rcomp/tmp/14a031255371825.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/freestat/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/www/html/freestat/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/freestat/rcomp/tmp/2x05s1255371825.tab") > > system("convert tmp/14a031255371825.ps tmp/14a031255371825.png") > > > proc.time() user system elapsed 0.541 0.233 0.624