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(105.5,106.3,107.2,107.8,109.2,109.7,108.7,109.3,110.4,111.1,110.1,109.5,109,108.5,108.8,109.8,110.7,110.6,111.2,112,111.1,111.6,110.2,111.5,110.6,110.6,110.3,111.7,113.8,113.9,114.3,113.8,114.3,116.4,115.6,115.2,113.6,115.5,115.6,115.3,117.3,118.7,118.3,120.6,119.3,121.8,120.8,121.6,121.6,121.1,122.4,121.9,125.1,124.5,123.5,124.9,125.2,125.7,124.5,124.7) > par3 = 'price index of agricultural products of Norway from october 2004 until september 2009' > par2 = 'http://statbank.ssb.no/statistikkbanken/Default_FR.asp?Productid=08.02&PXSid=0&nvl=true&PLanguage=1&tilside=selecttable/MenuSelP.asp&SubjectCode=08' > par1 = 'comsumer price index of agricultural products' > ylab = 'price index' > xlab = 'time' > main = '' > #'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/1a56o1257197247.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/2sllk1257197247.tab") > > system("convert tmp/1a56o1257197247.ps tmp/1a56o1257197247.png") > > > proc.time() user system elapsed 0.330 0.330 0.646