It looks like a bug, I can reproduce this issue. David Boyd <db...@incadencecorp.com> 于2020年7月3日周五 上午7:43写道:
> All: > > Sorry for dumping so much on the list lately. Making progress but it is > slow. > > So I finally got the %ir interpreter to work. > > Got pretty much every paragraph to work with either %r or %ir > But I am not able to get any of the google vis outputs to generate > any output. > > First question - is this because flash has basically been disabled across > the board? > I found > If I look at say the bubble object from that paragrah it looks > like it has real data: > > $type 'BubbleChart' $chartid 'BubbleChartID30605c24963' $html $header > '<!DOCTYPE > html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"\n > "https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd" > <https://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd>>\n<html xmlns= > "https://www.w3.org/1999/xhtml" > <https://www.w3.org/1999/xhtml>>\n<head>\n<title>BubbleChartID30605c24963</title>\n<meta > http-equiv="content-type" content="text/html;charset=utf-8" />\n<style > type="text/css">\nbody {\n color: #444444;\n font-family: > Arial,Helvetica,sans-serif;\n font-size: 75%;\n }\n a {\n color: #4D87C7;\n > text-decoration: none;\n}\n</style>\n</head>\n<body>\n' $chart jsHeader '<!-- > BubbleChart generated in R 3.6.0 by googleVis 0.6.4 package -->\n<!-- Thu > Jul 2 23:05:16 2020 -->\n\n\n<!-- jsHeader -->\n<script > type="text/javascript">\n' jsData '\n// jsData \nfunction > gvisDataBubbleChartID30605c24963 () {\nvar data = new > google.visualization.DataTable();\nvar datajson =\n[\n > [\n"Apples",\n98,\n78,\n2008,\n20\n],\n[\n"Apples",\n111,\n79,\n2009,\n32\n],\n[\n"Apples",\n89,\n76,\n2010,\n13\n],\n[\n"Oranges",\n96,\n81,\n2008,\n15\n],\n[\n"Bananas",\n85,\n76,\n2008,\n9\n],\n[\n"Oranges",\n93,\n80,\n2009,\n13\n],\n[\n"Bananas",\n94,\n78,\n2009,\n16\n],\n[\n"Oranges",\n98,\n91,\n2010,\n7\n],\n[\n"Bananas",\n81,\n71,\n2010,\n10\n] > \n];\ndata.addColumn(\'string\',\'Fruit\');\ndata.addColumn(\'number\',\'Sales\');\ndata.addColumn(\'number\',\'Expenses\');\ndata.addColumn(\'number\',\'Year\');\ndata.addColumn(\'number\',\'Profit\');\ndata.addRows(datajson);\nreturn(data);\n}\n' > jsDrawChart > > > If I run the same code in R studio and use plot the graph opens up in my > browser just fine. > > So what should all this look like? > > Or should all these googlevis examples go away? > > -- > ========= mailto:db...@incadencecorp.com <db...@incadencecorp.com> > ============ > David W. Boyd > VP, Data Solutions > 10432 Balls Ford, Suite 240 > Manassas, VA 20109 > office: +1-703-552-2862 > cell: +1-703-402-7908 > ============== http://www.incadencecorp.com/ ============ > ISO/IEC JTC1 SC42/WG2, editor ISO/IEC 20546, ISO/IEC 20547-1 > Chair INCITS TG Big Data > Co-chair NIST Big Data Public Working Group Reference Architecture > First Robotic Mentor - FRC, FTC - www.iliterobotics.org > Board Member- USSTEM Foundation - www.usstem.org > > The information contained in this message may be privileged > and/or confidential and protected from disclosure. > If the reader of this message is not the intended recipient > or an employee or agent responsible for delivering this message > to the intended recipient, you are hereby notified that any > dissemination, distribution or copying of this communication > is strictly prohibited. If you have received this communication > in error, please notify the sender immediately by replying to > this message and deleting the material from any computer. > > -- Best Regards Jeff Zhang