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(20.17189271 + ,20.53392781 + ,19.64463033 + ,19.97968779 + ,19.45628927 + ,19.40604948 + ,19.88019273 + ,19.73521726 + ,20.12990688 + ,20.6073619 + ,20.77625203 + ,20.14801868 + ,20.66320224 + ,19.62644661 + ,20.59234173 + ,19.13635621 + ,20.96329588 + ,20.42707069 + ,20.98573763 + ,19.4031677 + ,19.83464215 + ,20.34532079 + ,20.94307685 + ,20.28830145 + ,19.65026754 + ,19.76967336 + ,20.53343005 + ,20.68566962 + ,20.57480921 + ,19.14490759 + ,19.6798317 + ,19.30065147 + ,19.62928549 + ,19.87496654 + ,19.19808921 + ,19.94992879 + ,20.29878525 + ,20.528385 + ,20.10014631 + ,19.76277369 + ,19.62146816 + ,20.22979946 + ,19.65651795 + ,19.39589642 + ,19.70374828 + ,20.92256853 + ,20.19172273 + ,20.30919147 + ,20.52290658 + ,20.41289313 + ,19.58850477 + ,19.32763656 + ,20.6035554 + ,20.70403344 + ,20.479693 + ,19.49571635 + ,20.89469416 + ,20.66967696 + ,20.6770873 + ,19.26685734 + ,20.28329282 + ,20.66911338 + ,20.18269596 + ,19.55496113 + ,20.32315182 + ,19.87522287 + ,19.48203452 + ,19.66533702 + ,19.05749373 + ,19.18119756 + ,19.73373111 + ,20.03642226 + ,20.17963736 + ,19.53018121 + ,19.44489319 + ,19.77497503 + ,19.07661744 + ,20.07264842 + ,19.41605412 + ,19.79779019 + ,20.3706997 + ,20.65284083 + ,19.54880554 + ,19.3123082 + ,19.53696962 + ,20.64700175 + ,19.54269692 + ,19.36618795 + ,19.52507445 + ,20.30689343 + ,20.30600349 + ,20.41234755 + ,20.71441045 + ,20.39240198 + ,20.25446332 + ,20.15440099 + ,19.51327547 + ,19.4325975 + ,19.08689042 + ,19.51483098 + ,20.97260074 + ,20.4457596 + ,20.95343817 + ,19.2382952 + ,19.8382021) > par3 = '20' > par2 = '0.95' > par1 = 'two.sided' > #'GNU S' R Code compiled by R2WASP v# 1#0#44 ## > #Author: Dr# Ian E# Holliday > #To cite this work: Ian E# Holliday, 2009, 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: > #Technical description: > par2 <- as#numeric#par2# > par3 <- as#numeric#par3# > #tt <- t#test#x,mu=par3,alternative=par1,conf#level=par2## > load#file='/var/www/html/rcomp/createtable'# function (file, envir = parent.frame()) { if (is.character(file)) { con <- gzfile(file) on.exit(close(con)) magic <- readChar(con, 5L, useBytes = TRUE) if (!grepl("RD[AX]2\n", magic)) { if (grepl("RD[ABX][12]\r", magic)) stop("input has been corrupted, with LF replaced by CR") warning(gettextf("file '%s' has magic number '%s'\n Use of save versions prior to 2 is deprecated", basename(file), gsub("[\n\r]*", "", magic)), domain = NA, call. = FALSE) return(.Internal(load(file, envir))) } } else if (inherits(file, "connection")) { con <- if (inherits(file, "gzfile")) file else gzcon(file) } else stop("bad 'file' argument") .Internal(loadFromConn2(con, envir)) } > a<-table#start## > a<-table#row#start#a# > a<-table#element#a,'One Sample t-test',2,TRUE# > a<-table#row#end#a# > a<-table#row#start#a# > a<-table#element#a,'H0',header=TRUE# > a<-table#element#a,tt$null#value# > a<-table#row#end#a# > a<-table#row#start#a# > a<-table#element#a,'Alternative',header=TRUE# > a<-table#element#a,tt$alternative# > a<-table#row#end#a# > a<-table#row#start#a# > a<-table#element#a,'CI',header=TRUE# > a<-table#element#a,par2# > a<-table#row#end#a# > a<-table#row#start#a# > a<-table#element#a,'Sample Mean',header=TRUE# > a<-table#element#a,mean#x## > a<-table#row#end#a# > a<-table#row#start#a# > a<-table#element#a,'T-Test',header=TRUE# > a<-table#element#a,tt$statistic# > a<-table#row#end#a# > a<-table#row#start#a# > a<-table#element#a,'DF',header=TRUE# > a<-table#element#a,tt$parameter# > a<-table#row#end#a# > a<-table#row#start#a# > a<-table#element#a,'P-Value',header=TRUE# > a<-table#element#a,tt$p#value# > a<-table#row#end#a# > a<-table#end#a# > table.save(a,file="/var/www/html/rcomp/tmp/1oi8p1289548522.tab") Error: could not find function "table.save" Execution halted