ululalbab / google-motion-charts-with-r

Automatically exported from code.google.com/p/google-motion-charts-with-r
0 stars 0 forks source link

gvisTable cannot display data frame that has only one row #16

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

Run the following two commands in R.
test=data.frame(x1=1,x2=2,x3=3)
plot(gvisTable(test))

What is the expected output? What do you see instead?
A blank page is showing up in the browser. It should show a table with one row 
(and the column header).

What version of the product are you using? On what operating system?
R 2.12.1 (Windows)
googleVis 0.2.10

Please provide any additional information below.
If I remove a pair of square bracket from "datajson", it works correctly.

Original issue reported on code.google.com by Wai.Tung...@gmail.com on 24 Jul 2012 at 3:39

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for reporting this issue. 

It has been fixed in the source code, see 
http://code.google.com/p/google-motion-charts-with-r/source/diff?spec=svn325&r=3
25&format=side&path=/trunk/R/gvis.R lines 227 onwards.

A new version of the package will be published here and on CRAN in due course. 

Original comment by markus.g...@googlemail.com on 24 Jul 2012 at 6:26