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(99.3,99.5,99.3,99.5,97.9,94.4,96.1,93,93.8,97.2,98.6,97.9,98.4,96.8,95.7,96.2,97.7,95.2,101.5,105.7,109.1,113,112.2,108.1,109.6,107.6,106.8,110.4,107.4,107.7,106.1,104.9,99.5,98.9,106.1,104.7,105.6,99.8,100.2,99,98.1,98.3,96.3,95.7,96.3,100.1,100.7,99,98.1,99.2,97.5,99.1,100.6,101.1,98,103.5,110,108.7,108.9,104.8) > par3 = 'index of domestic sales of fish in Norway' > 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 = 'index of domestic sales of fish etc in Norway' > ylab = '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/1q8601257281142.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/2wy281257281142.tab") > > system("convert tmp/1q8601257281142.ps tmp/1q8601257281142.png") > > > proc.time() user system elapsed 0.380 0.280 0.665