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(1,1,1,0,1,1,1,1,1,1,0,1,1,1,0,1,1,1,1,0,1,1,0,0,1,0,1,0,0,1,0,1,0,0,0,1,1,1,1,1,1,1,1,1,0,1,1,1,1,0,1,1,1,0,1,1,1,1,0,0,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,0,0,1,0,1,0,0,0,0,0,0,0,1,0,0,1,1,1,1,1,1,1,1,0,0,1,0,0,0,1) > par3 = '0' > par2 = '0.95' > par1 = 'less' > #'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/1sgnk1289547908.tab") Error: could not find function "table.save" Execution halted