[rkward-cvs] SF.net SVN: rkward:[2402] trunk/rkward/rkward/plugins/plots/barplot.php

sjar at users.sourceforge.net sjar at users.sourceforge.net
Thu Feb 19 23:23:04 UTC 2009


Revision: 2402
          http://rkward.svn.sourceforge.net/rkward/?rev=2402&view=rev
Author:   sjar
Date:     2009-02-19 23:23:04 +0000 (Thu, 19 Feb 2009)

Log Message:
-----------
Added a logic to allow user to enter data from RKWards table GUI.

Modified Paths:
--------------
    trunk/rkward/rkward/plugins/plots/barplot.php

Modified: trunk/rkward/rkward/plugins/plots/barplot.php
===================================================================
--- trunk/rkward/rkward/plugins/plots/barplot.php	2009-02-19 23:22:28 UTC (rev 2401)
+++ trunk/rkward/rkward/plugins/plots/barplot.php	2009-02-19 23:23:04 UTC (rev 2402)
@@ -37,6 +37,7 @@
 <?      } else { ?>
 # barplot is a bit picky about attributes, so we need to convert to vector explicitely
 if(!is.matrix(x)) x <- as.vector(x)
+if(!is.matrix(x) && is.data.frame(x)) x <- data.matrix(x)
 <?	}
 
 	if ($names_mode == "rexp") {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the rkward-tracker mailing list