[rkward-cvs] SF.net SVN: rkward-code:[4856] trunk/rkward/rkward/rbackend/rpackages/ rkward/R/rk.print-functions.R

tfry at users.sf.net tfry at users.sf.net
Mon Sep 29 17:41:28 UTC 2014


Revision: 4856
          http://sourceforge.net/p/rkward/code/4856
Author:   tfry
Date:     2014-09-29 17:41:27 +0000 (Mon, 29 Sep 2014)
Log Message:
-----------
Print factor levels in rk.results. Fixes http://sourceforge.net/p/rkward/bugs/131/

Modified Paths:
--------------
    trunk/rkward/rkward/rbackend/rpackages/rkward/R/rk.print-functions.R

Modified: trunk/rkward/rkward/rbackend/rpackages/rkward/R/rk.print-functions.R
===================================================================
--- trunk/rkward/rkward/rbackend/rpackages/rkward/R/rk.print-functions.R	2014-09-29 13:05:56 UTC (rev 4855)
+++ trunk/rkward/rkward/rbackend/rpackages/rkward/R/rk.print-functions.R	2014-09-29 17:41:27 UTC (rev 4856)
@@ -195,7 +195,7 @@
 				for (row in 1:dim (x)[1]) {
 					cat ("<tr>")
 					for (col in 1:dim (x)[2]) {
-						cat ("<td>", x[row, col], "</td>", sep="")
+						cat ("<td>", format (x[row, col]), "</td>", sep="")
 					}
 					cat ("</tr>\n")
 				}





More information about the rkward-tracker mailing list