R version 2.15.1 (2012-06-22) -- "Roasted Marshmallows" Copyright (C) 2012 The R Foundation for Statistical Computing ISBN 3-900051-07-0 Platform: i686-pc-linux-gnu (32-bit) 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. > > RC.capture <- function (expression, collapse = NULL) { + resultConn <- textConnection('RC.resultText', open = 'w', local=TRUE) + sink(resultConn) + on.exit(function() { + sink() + close(resultConn) + }) + expression + on.exit(NULL) + sink() + close(resultConn) + return(paste(c(RC.resultText, ''), collapse = collapse, sep = '')) + } > RC.texteval <- function (sourceText, collapse = NULL, echo = TRUE) { + sourceConn <- textConnection(sourceText, open = 'r') + on.exit(close(sourceConn)) + result <- RC.capture(source(file = sourceConn, local = FALSE, echo = echo, print.eval = TRUE), collapse = collapse) + on.exit(NULL) + close(sourceConn) + res <- '' + for(i in 1:length(result)) { + if (result[i]!='') res <- paste(res,result[i],' + ',sep='') + } + return(res) + } > x <- c(665711522864641 + ,-131165385652759 + ,-179603040001339 + ,-184700692903106 + ,-124145048268355 + ,149556723027767 + ,138355409772499 + ,-304979696402705 + ,-357176204304957 + ,-127320953176455 + ,145927737668894 + ,-0.178846909964642 + ,-0.985432102017027 + ,-105306121468615 + ,-105564749163737 + ,472629131013776 + ,-189226312212085 + ,-820821017545145 + ,-0.861723966126757 + ,266933674420407 + ,138192403862728 + ,237755568035564 + ,-936782864394663 + ,-130354295863332 + ,123319796509373 + ,902555629852805 + ,-234568489161739 + ,-279801464674306 + ,-0.496994929667013 + ,-291462589106662 + ,-719380487713189 + ,14530304956098 + ,-118141210432007 + ,-493193696268312 + ,175883125841397 + ,295332082649383 + ,843177239016013 + ,-241014670355359 + ,-984459574846234 + ,196667953743618 + ,148527485009665 + ,-127654824550164 + ,-969597160917218 + ,-156681290524712 + ,-193938797503698 + ,698751026062598 + ,768064392240282 + ,866634370891604 + ,291604413287932 + ,-0.122556332769761 + ,136192376132819 + ,-211450669372579 + ,846393425485531 + ,-180235308927727 + ,-169747970461711 + ,-0.0232046116050384 + ,151206101468734 + ,-150385250031436 + ,0.328433967228775 + ,-59890446520356 + ,-839752265087017 + ,-274043155495818 + ,-865489806363659 + ,259683327400853 + ,-126268943677433 + ,480932734750565 + ,-86892260418941 + ,0.844047044806452 + ,-502461501280509 + ,232879449607947 + ,-254529687030544 + ,-0.771701965602397 + ,-4072107929342 + ,-0.256484732548137 + ,-118890184314072 + ,-472056838135867 + ,212418797357859 + ,443542031337181) > #'GNU S' R Code compiled by R2WASP v. 1.0.44 () > #Author: Dr. Ian E. Holliday > #To cite this work: Ian E. Holliday, 2011, 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: > library(moments) > agostino <- agostino.test(x) > anscombe <- anscombe.test(x) > geary <- geary(x) > jarque <- jarque.test(x) > > #Note: the /var/fisher/rcomp/createtable file can be downloaded at http://www.wessa.net/cretab > load(file="/var/fisher/rcomp/createtable") > > a<-table.start() > a<-table.row.start(a) > a<-table.element(a,'Skewness and Kurtosis Test',1,TRUE) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('agostino'),'
',sep='')) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('anscombe'),'
',sep='')) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('jarque'),'
',sep='')) > a<-table.row.end(a) > a<-table.row.start(a) > a<-table.element(a,paste('
',RC.texteval('geary'),'
',sep='')) > a<-table.row.end(a) > a<-table.end(a) > table.save(a,file="/var/fisher/rcomp/tmp/14uil1351722876.tab") > > > > proc.time() user system elapsed 0.303 0.087 0.368