[rkward-cvs] rkward/rkward/rbackend/rpackages/rkward/R public.R,1.11,1.12

Thomas Friedrichsmeier tfry at users.sourceforge.net
Wed Mar 29 17:27:58 UTC 2006


Update of /cvsroot/rkward/rkward/rkward/rbackend/rpackages/rkward/R
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv15150/rkward/rbackend/rpackages/rkward/R

Modified Files:
	public.R 
Log Message:
Added experimental rk.header function for use in printout

Index: public.R
===================================================================
RCS file: /cvsroot/rkward/rkward/rkward/rbackend/rpackages/rkward/R/public.R,v
retrieving revision 1.11
retrieving revision 1.12
diff -C2 -d -r1.11 -r1.12
*** public.R	28 Apr 2005 20:05:10 -0000	1.11
--- public.R	29 Mar 2006 17:27:56 -0000	1.12
***************
*** 79,81 ****
  }
  
! 
--- 79,94 ----
  }
  
! "rk.header" <- function (title, parameters=list ()) {
! 	cat (paste ("<h1>", title, "<h1>\n", sep=""))
! 	if (length (parameters)) {
! 		cat ("<h2>Parameters</h2>\n<ul>")
! 		len <- length (parameters)
! 		i <- 2
! 		while (i <= len) {
! 			cat (paste ("<li>", parameters[i-1], ": ", parameters[i], "</li>\n", sep=""))
! 			i <- i + 2
! 		}
! 		cat ("</ul>\n")
! 	}
! 	cat (date ())
! }





More information about the rkward-tracker mailing list